Minecraft:Loyalty: Difference between revisions
More actions
Sync: updated from Minecraft |
Sync: updated from Minecraft |
||
| (One intermediate revision by the same user not shown) | |||
| Line 3: | Line 3: | ||
| primaryitems = {{ItemSprite|Trident}} | | primaryitems = {{ItemSprite|Trident}} | ||
| weight = 5 | | weight = 5 | ||
| incompat = [[Minecraft:Riptide]] | | incompat = [[Minecraft:Riptide]] | ||
| overleveling = Further increases return speed. | |||
}} | }} | ||
'''Loyalty''' is an [[Minecraft:enchantment]] applied to [[Minecraft:trident]]s that causes a thrown trident to fly back to the [[Minecraft:player]] who threw it after it lands. | '''Loyalty''' is an [[Minecraft:enchantment]] applied to [[Minecraft:trident]]s that causes a thrown trident to fly back to the [[Minecraft:player]] who threw it after it lands. | ||
| Line 12: | Line 12: | ||
== Behavior == | == Behavior == | ||
[[File:Trident with loyalty III.gif|thumb|A trident with Loyalty III.]] | [[File:Trident with loyalty III.gif|thumb|A trident with Loyalty III being thrown and returning.]] | ||
The speed of returning depends on the level. When the trident hits an entity or 5 | The speed of returning depends on the level. When the trident hits an entity or 5 [[Minecraft:tick]]s (0.25 seconds) after hitting a block, the trident will begin returning. When returning, it travels at a maximum speed of <math>\frac56\cdot level</math> block per tick (<math>\frac{50}3\cdot level</math> blocks per second), meaning about 0.83 blocks per tick (16.67 blocks per second) at level I, about 1.67 blocks per tick (33.33 blocks per second) at level II, and 2.5 blocks per tick (50 blocks per second) at level III. | ||
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 [[Minecraft:the Nether]] and goes to the [[Minecraft: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. | 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 [[Minecraft:the Nether]] and goes to the [[Minecraft: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. | ||
| Line 90: | Line 90: | ||
=== Enchantment definition === | === Enchantment definition === | ||
< | {{wip|section=1|To be converted to standard JSON tree view - see [[Minecraft:Forum:Include enchantment, biome and dimension definitions in the Data values section]] for project info}} | ||
{{collapse|title=Press "show" to display json contents|content= | |||
<syntaxhighlight lang="json"> | |||
{ | { | ||
"anvil_cost": 2, | "anvil_cost": 2, | ||
| Line 125: | Line 127: | ||
"weight": 5 | "weight": 5 | ||
} | } | ||
</ | </syntaxhighlight> | ||
}} | |||
== History == | == History == | ||
Latest revision as of 11:13, 18 October 2026
Template:Infobox enchantment Loyalty is an Minecraft:enchantment applied to Minecraft:tridents that causes a thrown trident to fly back to the Minecraft:player who threw it after it lands.
Obtaining
Loyalty can be obtained from Minecraft:enchanting tables, drops from mobs that have spawned in a Minecraft:raid,Template:Only books obtained by Minecraft:fishing, Minecraft:monster room chests, Minecraft:librarian Minecraft:villagers, and non-village Minecraft:structure loot.
Behavior
The speed of returning depends on the level. When the trident hits an entity or 5 Minecraft:ticks (0.25 seconds) after hitting a block, the trident will begin returning. When returning, it travels at a maximum speed of <math>\frac56\cdot level</math> block per tick (<math>\frac{50}3\cdot level</math> blocks per second), meaning about 0.83 blocks per tick (16.67 blocks per second) at level I, about 1.67 blocks per tick (33.33 blocks per second) at level II, and 2.5 blocks per tick (50 blocks per second) at level III.
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 Minecraft:the Nether and goes to the Minecraft: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 or goes into spectator mode while the trident is returning, the trident then drops in item form and is susceptible to despawning. If the trident was thrown in Creative mode when this happens, it disappears entirely.
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.
Template:IN, throwing a trident into the Minecraft:void effectively destroys the trident;<ref>Template:Bug</ref> it never returns because there are no blocks or entities for it to hit.Template:Until Template:IN, the trident returns after traveling around 15 blocks in the void. A Loyalty-enchanted trident does not return when thrown by a dispenser.Template:Only If a Loyalty-enchanted trident is shot into the void by a dispenser, it does not despawn immediately like a normal trident would.
Loyalty functions normally up to level 95. However, in some scenarios, higher levels of Loyalty will cause tridents to overshoot, increasing the time it takes for the trident to return and even preventing them from completing the return at all.
Incompatibilities
Loyalty and Minecraft:Riptide are mutually exclusive. If the two are combined via Minecraft:commands, Riptide takes priority and Loyalty is negated.
Sounds
Data values
ID
Template:Edition: Template:ID table
Template:Edition: Template:ID table
Enchantment definition
History
Java Edition
Bedrock Edition
Legacy Console Edition
Java Edition Combat Tests
Issues
References
Template:Navbox enchantments Template:Navbox combat
Minecraft:de:Treue Minecraft:es:Lealtad Minecraft:fr:Loyauté Minecraft:ja:忠誠 Minecraft:ko:충성 Minecraft:pt:Lealdade Minecraft:ru:Верность Minecraft:th:ซื่อสัตย์ Minecraft:zh:忠诚