Data Packs Magic

desEff's Trident Revamp [1.21.4]

  • 5.5k views 1 today
  • save_alt 425 downloads
Compatibility
Minecraft 1.21
Changes include
  • Advancements
  • Functions
  • Loot Tables
  • Recipes
  • Structures
Added Credit@conure512 on YouTube/PMC for the amazing datapack tutorials
  • 16
  • 17
  • 8
desired_effect
Lvl 24Expert Artist Explorer
7
Changes the way Tridents are obtained, and adds 4 new trident-exclusive enchantments. This pack is compatible with versions 1.21 - 1.21.4. (I see no reason why it wouldn't work with 1.21.5+, but they haven't been tested)

Trident Crafting


Crafting a trident requires three Hearts of the Sea, which are guaranteed drops from Elder Guardians.

Next, the three Hearts must bee crafted into a conduit, which now has the following recipe:

desEff's Trident Revamp [1.21.4] Minecraft Data Pack

Finally, a trident can be crafted with the following recipe:

desEff's Trident Revamp [1.21.4] Minecraft Data Pack

All other methods for obtaining these items have been changed/replaced:
  • Drowned now spawn holding prismarine shards rather than tridents
  • A Heart of the Sea replaces the Trident as Trial Chamber loot
  • Buried Treasure chests now contain nautilus shells rather than Hearts of the Sea

Trident Enchantments


Four trident-exclusive enchantments have been added, and 2 existing enchantments have been reworked:

New Enchantments:

- Lunging [​max III] - increases attack reach (+1 block at 1st, +0.5 blocks per level after 1st), exclusive with Surging

- Surging [​max III] - increases attack speed (+0.2 speed at 1st, +0.1 speed per level after 1st), exclusive with Lunging

Surging attack speed details
Attack speed (fully charged attacks per second)Cooldown between attacks (in seconds)
Unenchanted1.1~0.91
Surging I1.3~0.77
Surging II1.4~0.71
Surging III1.5~0.67


- Freezing [​max II] - freezes target on hit for a few seconds, dealing damage over time and slowing them down (2nd level doubles duration)

- Vortex (treasure) [​max I] - when thrown, user teleports to target entity on hit
(can be found in End City chests)

Reworked Enchantments:

- Impaling [​max V] - now deals increased damage to all mobs either in water or rain

- Loyalty [​max III] - can now save your trident when thrown into the void

Mod/Data Pack Compatibility


YUNG'S Better Ocean Monuments
(data pack/mod by YUNGNICKYOUNG) - replaces free trident with loot chest, and altered existing loot

Defaulted (mod by Alexandra-Myers) - allows Tridents to be repaired with Nautilus Shells

Modify Player Data (mod by eclipseisoffline, other similar mods may also work) - allows the Freezing enchantment to work on other players

Known Issues/Bugs


- Freezing enchantment doesn't work on players without the Modify Player Data mod (likely unfixable)



To-do (maybe):
  • More enchantments
  • Pack & site images, etc.
  • Compatibility for older versions
  • An advancement(?)




If you find any bugs, or if you have any questions, please leave a comment below ^^ (though it may take me a while to get to them)

4 Update Logs

Update v2.1.0 : by desired_effect 05/03/2025 8:45:45 pmMay 4, 2025 @ 12:45 am UTC

Added compatibility for Defaulted mod & YUNG's Better Ocean Monuments mod/data pack
LOAD MORE LOGS

More like this

  Have something to say?

AlMeghuar
07/27/2025 2:16 pm
Level 1 : New Miner
I am looking forward for this datapack you have made

I am using it rn with 15 with my friends and it's so good

However when throwing trident with freezing enchantment on a player it doesn't affect him
it so op on a player if it could've worked so maybe half the duration on a "player" could be better
May you update us if the enchantment could work on a player? it doesn't work on my server only works on a mob
2
desired_effect
08/21/2025 3:03 am
He/Him • Level 24 : Expert Artist Explorer
history
i'm glad you liked the pack! unfortunately there's no way to let freezing work on players


long answer is, the enchantment works by directly modifying the mob's data. currently, there's no way to do this to players (at least via the data-driven enchantment system)



currently the only workaround is to download a mod that allows for the editing of player data. i recommend the "Modify Player Data" mod by eclipseisoffline on Modrinth, but any should work



if i ever find a way to do this i'll update the pack 👍
1
NamelsessPhoenix
11/23/2024 3:50 am
Level 1 : New Miner
Awesome datapack

However, Vortex isn't working for me, the sound still plays, but I don't get teleported.
Is there some condition for it to activate or does it simply not work for me?
1
desired_effect
03/30/2025 6:45 pm
He/Him • Level 24 : Expert Artist Explorer
history
it should happen whenever you hit an entity with the thrown trident. there could be a few issues i can think of

1. have you checked your game version? i've only tested the pack in 1.21

2. are there any other players in your world? the functions may get messed up if another player is too close when you throw the trident
3. do you have any other datapacks (or mods, plugins, etc.) installed? i've used a scoreboard named "id", which could interfere if another datapack used the same name

(sorry for the late response, haven't been on pmc lately)
1
MiziraGamez
11/03/2024 10:18 am
Level 4 : Apprentice Explorer
history
I was literally about to do a similar Trident enchantment involving a Freezing sort of effect, but I was gonna achieve it with the Slowness effect and spawn particles after post_attack.

I just looked inside the datapack files for your Freezing enchant and... it's so much nicer and simpler. Plus it avoids having to make a separate entity tag just to let some mobs be immune to the "freezing", yours is literally just the freezing.

Color me impressed, your datapack is some good work.
2
desired_effect
03/30/2025 6:33 pm
He/Him • Level 24 : Expert Artist Explorer
thank you for the kind words, i appreciate it a lot! granted, my approach is a bit finnicky in some ways (afaik, you can't directly edit player data w/ enchantments, so the enchant doesn't work on other players), but i've found it works pretty well :)
1
Temmmer
10/16/2024 3:20 am
Level 1 : New Miner
I found this datapack insanity useful, finally not some enchantment that is really make trident even more unique. Hope it will be updated in future, thanks for this datapack.
2
desired_effect
10/20/2024 1:59 am
He/Him • Level 24 : Expert Artist Explorer
thank you for the kind words. i'll definitely update this pack if i come up with more enchantment ideas ^^
1

Welcome