Loyalty

Loyalty is an enchantment to a thrown trident, causing it to return 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 it hits no block or entity. $$, the trident returns after traveling around 15 blocks in the void. When thrown via dispenser, trident won't return.

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.

忠诚