截图
介绍
Turns the regular lead into a universal leash you can use on almost any animal, mob, or player in the game. It removes most vanilla restrictions, so you can lead creatures that were previously unleashable and easily move them around your world.
Server-side mod, client optional — vanilla clients can join and play, and nothing is gated behind having it. The client only adds visuals: LeashAll can leash things vanilla has no rendering for (players, boats, minecarts, the ender dragon). With the mod you see a proper sagging rope; without it the server traces the same rope with particles. Leashes on regular mobs look identical either way. Works in singleplayer — just drop it in your mods folder.
Dependencies: Fabric needs Fabric API and Architectury API. NeoForge needs Architectury API. Forge needs no additional dependencies.
Free to use in any modpack — public or private, no permission needed.
What it does
- Leash Anything — right-click an animal, mob, or player with a lead to leash it to yourself. Works on almost all vanilla creatures.
- Chain Creatures Together — with creatures already leashed to you, sneak + right-click another creature to attach them to it instead. No extra lead needed.
- Take the Leash Back — right-click a creature leashed to another mob to move the leash back to yourself. A lead in hand is optional.
- Detach with an Empty Hand — right-click a creature leashed to you with an empty hand to remove the leash.
Configuration
The config is per world and read when the world loads; edit it, then restart the server or re-enter the world. There is no in-game screen and no client config — every option is server-authoritative. The file format is the same on Fabric, Forge, and NeoForge.
- Dedicated server:
<server>/world/serverconfig/leashall-server.toml - Singleplayer:
.minecraft/saves/<world>/serverconfig/leashall-server.toml - Pack default for every new world:
defaultconfigs/leashall-server.toml
Options
useEntityAllowList—false(default): every entity is allowed unless it is inblockedEntities.true: only entities inallowedEntitiescan be leashed.allowedEntities— entity ids or tags to allow.blockedEntities— entity ids or tags to block.maxLeashesPerPlayer— how many entities one player can hold at once;-1(default) is unlimited.disableLeashBreak—false(default): entities moved by LeashAll’s own follow logic (slimes, ghasts, allays, the ender dragon, boats, minecarts, players) drop the leash when the holder gets too far away.true: they never break by distance. Regular vanilla-leashable mobs are unaffected either way.
How the rules work
- Entries can be ids (
minecraft:ghast,examplemod:custom_beast) or tags (#minecraft:raiders,#c:bosses). blockedEntitiesis checked first and always wins, even overallowedEntities.allowedEntitiesonly matters whenuseEntityAllowList = true.maxLeashesPerPlayercounts across all dimensions. Entities you already hold never count against you, so you can always detach or re-attach them at the cap.- Invalid entries (typos, missing tags, ids from mods that aren’t installed) are skipped with a warning. Unknown keys or bad values fall back to defaults and log a warning. On Fabric, a broken file is backed up as
leashall-server.toml.bakbefore being rewritten. - New options from updates are appended to your existing file with defaults — no need to delete it.
Useful entity ids
minecraft:player— block it to turn off leashing other players (a common choice on public servers).minecraft:ender_dragon— block it for a vanilla-feel End fight.- Boats and minecarts are ordinary ids too; boat ids are per wood type, so a tag is usually easier.
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
Public server: no players or 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
Feedback
Please report any bugs, errors, or feature suggestions on Discord: https://discord.gg/HTkn94BXmA
More mods by Nikrecs: Rope · Better Caravans
My other mods that I recommend.
常见问题
LeashAll 支持哪些 Minecraft 版本?
LeashAll 支持 Minecraft Java 版 1.19.2–26.3,共 9 个版本,可用的加载器:Fabric / Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。
LeashAll 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Forge / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
Nikrecs 的其他作品
查看全部 →DeathCompass
重生时自动获得一个指南针,精准指向你上次死亡的位置。
Terralith: River In Jungle
Terralith 附属模组,新增宽阔蜿蜒、拥有自然缓坡河岸的丛林河流,告别原版那些细小的溪流。
Swing Through Grass
挥剑扫过草丛也能命中生物:攻击不再被高草、蕨类和植物挡掉,让你的剑能穿过枝叶击中目标。轻量级服务端模组,无需客户端安装。
PerformanceHUD
Lightweight client-side HUD showing FPS, RAM, entities, chunks, ping, and CPU in one customizable corner overlay.
评论
登录后评论和评分