Loyalty

Loyalty is an enchantment applying to a trident, causing it to return to the owner once thrown. If the player dies while the trident is returning, the trident then drops in item form and is susceptible to despawning.

Behavior
The speed of returning depends on the level.

When the player is traveling between dimensions, the trident attempts to return to the player but stays in the current dimension. For example, if a player throws a trident while in the nether and goes to the overworld the tridents stays in the nether and does not despawn. As soon as the player returns to the nether, the trident resumes returning to the player.

Usage
When a trident enchanted with Loyalty is thrown and comes into contact with any block or entity, it returns after a time interval to the player who threw it. Higher enchantments decrease the waiting time to return.

$$, throwing a trident into the Void effectively destroys the trident; it never returns because there are no blocks or entities for it to hit. $$, the trident returns after traveling around 15 blocks in the void. A Loyalty-enchanted trident does not return when thrown by a dispenser.

If commands are used to increase the enchantment level beyond 127, Loyalty no longer functions.

Incompatibilities
Loyalty and Riptide are mutually exclusive. If the two are combined via commands, Riptide still functions normally but the trident can no longer be thrown.

ID




Issues
忠诚 Lealdade 忠誠