Compatibility
Minecraft: Java Edition
Platforms
Supported environments
Links
Tags
Creators
Details
Turns the regular lead into a universal leash you can use on almost any animal or mob or player in the game. It removes most vanilla restrictions, so you can lead many creatures that were previously unleasheable and easily move them around your world.
Server-side mod. The client is optional — vanilla clients can join and play with no mod installed, and nothing is gated behind having it.
What the client adds is purely visual. LeashAll can leash things vanilla has no rendering for — players, boats, minecarts, the ender dragon. With the mod installed you see a proper sagging rope; without it the server traces the same rope with particles instead. Leashes on regular mobs look identical either way.
Singleplayer: just drop it into your mods folder — client and server are the same jar.
How it works:
- Leash Anything: Right-click an animal or mob or player with a lead to leash it to yourself. This works on almost all vanilla creatures.
- Chain Creatures Together: Already have animals or mobs leashed to you? Sneak + Right-click another creature to attach your currently leashed targets to them instead. No extra lead is required for this.
- Take the Leash Back: If an animal is currently leashed to another mob or creature, simply right-click it to transfer the leash back to yourself. A lead in hand is optional.
- Detach with an Empty Hand: If a creature is currently leashed to you, right-click it with an empty hand to remove the leash.
Please report any bugs, errors, or feature suggestions on Discord: https://discord.gg/4XUPywnEyE

Configuration
- Dedicated server:
<server>/world/serverconfig/leashall-server.toml - Singleplayer:
.minecraft/saves/<world>/serverconfig/leashall-server.toml - Pack default (applied to every new world/save):
defaultconfigs/leashall-server.toml
The config is per world, not global, and it is read when the world loads. Edit the file, then restart the server or re-enter the world.
The file format is identical on Fabric, Forge and NeoForge — you can copy the same
leashall-server.toml between loaders.
Available options
useEntityAllowList
- When
false(default), all mobs are allowed unless they appear inblockedEntities - When
true, only mobs fromallowedEntitiescan be leashed.
allowedEntities - A list of entity ids or entity tags to allow.
blockedEntities - A list of entity ids or entity tags to block.
maxLeashesPerPlayer - Maximum number of mobs one player can have leashed at the same time. Set to -1 for unlimited leashes. This is the default.
disableLeashBreak
- When
false(default), mobs handled by LeashAll's own follow logic (slimes, ghasts, allays, the ender dragon, boats, minecarts and leashed players) drop the leash once the holder gets too far away. - When
true, those never break by distance — they keep following no matter how far apart you get. Regular vanilla-leashable mobs are unaffected either way.
Supported entry formats
- Specific entity id:
minecraft:ghast - Specific modded entity id:
examplemod:custom_beast - Entity tag:
#minecraft:raiders - Modded entity tag:
#c:bosses
How the lists are evaluated
blockedEntitiesis checked first and always wins — an entity listed there cannot be leashed even if it also appears inallowedEntities.allowedEntitiesonly matters whenuseEntityAllowList = true. Withfalsethe list is ignored entirely.- Invalid entries (typos, tags that don't exist, ids from a mod that isn't installed) are skipped with a warning in the server log — they never crash the game or void the rest of the list.
- An unknown key or a malformed value falls back to its default and logs a warning.
- When you update LeashAll, newly added options are appended to your existing file with their default values, so you never have to delete the config to see them.
maxLeashesPerPlayer
- Counts leashes across all dimensions, not per-world.
- Entities you already hold don't count against the limit when you interact with them, so you can always detach or re-attach what you're already leading, even at the cap.
Useful entity ids
minecraft:player— controls leashing other players. Add it toblockedEntitiesto turn player-leashing off completely (a common choice on public servers).minecraft:ender_dragon— the dragon is leashable; block it for a vanilla-feel end fight.- Boats and minecarts are ordinary entity ids too. Boat ids are per-wood-type on modern versions, so a tag is usually easier than listing them one by one.
Examples
Allow everything except wardens and ghasts:
useEntityAllowList = false
allowedEntities = []
blockedEntities = ["minecraft:warden", "minecraft:ghast"]
maxLeashesPerPlayer = -1
Allow only villagers, iron golems, and raiders:
useEntityAllowList = true
allowedEntities = ["minecraft:villager", "minecraft:iron_golem", "#minecraft:raiders"]
blockedEntities = []
maxLeashesPerPlayer = -1
Allow everything, but limit each player to 5 active leashes:
useEntityAllowList = false
allowedEntities = []
blockedEntities = []
maxLeashesPerPlayer = 5
Public server: everything except players and bosses, 10 leashes per player:
useEntityAllowList = false
allowedEntities = []
blockedEntities = ["minecraft:player", "minecraft:warden", "minecraft:ender_dragon"]
maxLeashesPerPlayer = 10
disableLeashBreak = false
Adventure map: leashes that never break by distance:
useEntityAllowList = false
allowedEntities = []
blockedEntities = []
maxLeashesPerPlayer = -1
disableLeashBreak = true
There is no in-game config screen and no client-side config — every option is server-authoritative.


