Loyalty

Loyalty is an enchantment applied to a trident, causing it to return to the owner once thrown. 
== 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.
A returning trident travels to its owner in a straight line, and can phase through all blocks and entities without hitting them. If the trident attempts to return to the player while their inventory is full, it starts circling around the player indefinitely, until an inventory slot is freed up. Multiple returning tridents can circle around a player simultaneously.
If the player dies while the trident is returning, the trident then drops in item form and is susceptible to despawning.
== 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, unless underwater.
== Sounds ==
:
:
== Data values ==
=== ID ===
:
:
== History ==
== Issues ==
== References ==
de:Treue
es:Lealtad
fr:Enchantement#Loyauté
ja:忠誠
ko:충성
pt:Lealdade
th:ซื่อสัตย์
zh:忠诚