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 Loyalty-enchanted trident while in the nether and goes to the overworld before the trident returns, the trident 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 a Loyalty-enchanted trident is shot into the void by a dispenser, it does not despawn immediately like a normal trident would.

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 ซื่อสัตย์ 忠诚