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.
Install on the server. Client installation is optional (vanilla clients can join and use it seamlessly). Singleplayer note: Works perfectly in singleplayer. Just install it normally in your mods folder.
How it works:
Please report any bugs, errors, or feature suggestions on Discord: https://discord.gg/4XUPywnEyE
!Leashed the ghast
world/serverconfig/leashall-server.tomldefaultconfigs/leashall-server.tomlUse defaultconfigs/leashall-server.toml if you want every new world or server save to start with your preferred rules.
useEntityAllowList
false (default), all mobs are allowed unless they appear in blockedEntitiestrue, only mobs from allowedEntities can 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.
minecraft:ghastexamplemod:custom_beast#minecraft:raiders#c:bossesAllow 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

Allows you to attach leads to every living entity (even player) in the game.