Lead

Leads, also known as leashes, are items used to leash and lead passive mobs.

Mobs
Wandering trader drop 2 lead when detached from trader llama.

Leashing mobs


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 passive mobs that cannot be leashed are bats, Cod, Salmon, squids, skeleton horses, turtles, and ocelot. Additionally, villagers, wandering trader and hostile mobs can only be leashed using a map or NBT editor.

With a mob on a lead, 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 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 a mob to a fence and the chunk unloads (either by walking too far away, or travelling to another dimension via portal - e.g. travelling to the Overworld from The Nether or vice versa), the lead will break and drop as an item, leaving the mob free to wander around.

Data values
Lead knots have entity data which define various properties of the entity.

Trivia

 * 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 will take damage as if it fell (with the exception of ocelots, snow golems, cats iron golems, parrot and chickens) unless if they land on a slime block or in water.

Gallery
Leine Rienda Laisse Lasszó Guinzaglio リード 끈 Leidtouw Smycz Поводок 拴绳