dec: 420 hex: 1A4 bin: 110100100
Obtaining[edit | edit source]
Crafting[edit | edit source]
Usage[edit | edit source]
Using a lead on a mob will tie it to the mob, allowing it to be moved by the player. Multiple mobs can be held by leads at once, but require one lead per mob led. The only mobs that cannot be leashed are bats and players. Additionally, villagers and hostile mobs can only be leashed using a map or NBT editor.
With a mob on a lead, using it on any type of fence (not cobblestone wall) will attach any leads you are holding to the fence with a visible knot. Multiple leads may be attached to one fencepost. A mob will tend to stay within 5 blocks of the fencepost.
Pressing the use item control on the mob again, hitting the knot, or removing the fence post will break the lead(s). Leads will also be broken if the knot is hit by arrows. Whenever a lead is removed or broken, it will drop as an item at the location of the mob – except if pressing use item control on the mob in Creative mode. A lead will not break if the animal that it is attached to dies.
A lead will stretch a maximum of 10 blocks before breaking.
A lead will not prevent a mob which would otherwise despawn, such as a squid, from despawning.
If the player is holding a lead connected to a mob, walks through a nether portal, then walks back through it, the player will still have the leads attached to the mob. However, if the mob walks into a nether portal, the leads are broken and dropped as items in the other dimension.
If the player leashes an Iron Golem to a fence and leaves to another dimension via the portals (e.g. The Overworld from The Nether) and returns some time later, the leads to the Iron Golem will break and drop as items.
Data values[edit | edit source]
- See also: Chunk format
Lead knots have entity data which define various properties of the entity. Their entity ID is
- Tags common to all entities see Template:Nbt inherit/entity/template
History[edit | edit source]
|1.6.1||13w16a||Added leads. They had no tooltip and were called “leashes” in the change notes.|
|13w16b||Leads were given a tooltip.|
|13w18a||Leads were given a crafting recipe.|
|1.6.2||Villagers can no longer be leashed. Before this, villagers could only be leashed in multiplayer, as it required one player to open the trade interface and another to leash the villager while the trade interface was open, because two players were unable to trade with the same villager at the same time.|
|1.11||16w32a||The entity ID of the knot is changed from
|Pocket Edition Alpha|
|0.15.0||build 1||Added leads.|
|TU19||CU7||1.12||Patch 1||Added leads.|
|TU43||CU33||1.36||Patch 13||Added sounds for leads.|
Issues[edit | edit source]
Issues relating to “Lead” or “Leash“ are maintained on the issue tracker. Report issues there.
Trivia[edit | edit source]
- The lead is named as “leash” in the texture file.
- If a player goes to sleep while holding a mob on a lead, the lead will remain attached.
- If the player attempts to land after flying on Creative mode with a mob leashed, the mob take damage as if it fell (with the exception of ocelots, iron golems and chickens) unless if they land on a slime block or in water.