将普通拴绳变为通用拴绳,可用于游戏中的几乎所有动物、生物或玩家。它移除了大部分原版限制,使你可以牵引之前无法拴住的生物,并在世界中轻松移动它们。

服务端模组,客户端可选 — 原版客户端可以加入并游玩,没有任何功能被锁定。客户端仅增加视觉效果:LeashAll 可以拴住原版没有渲染的对象(玩家、船、矿车、末影龙)。安装模组后你会看到自然下垂的绳索;未安装时服务器会通过粒子效果绘制相同的绳索。对常规可拴住生物而言,两种方式的外观完全一致。支持单人游戏 — 只需将其放入你的 mods 文件夹即可。
依赖项: Fabric 需要 Fabric API 和 Architectury API。NeoForge 需要 Architectury API。Forge 无需额外依赖项。
免费用于任何整合包 — 公开或私有均可,无需授权。
功能介绍
- 拴住任意生物 — 手持拴绳右键点击动物、生物或玩家即可将其拴住。适用于几乎所有原版生物。
- 串联生物 — 当已有生物被你拴住时,潜行 + 右键点击另一个生物,将其连接到前一个生物上。无需额外拴绳。
- 收回拴绳 — 右键点击被其他生物拴住的生物,可将拴绳收回至自己手中。手中持有拴绳为可选操作。
- 空手解除拴绳 — 手持空方块右键点击被你拴住的生物即可解除拴绳。
配置说明
配置文件是按世界独立的,在加载世界时读取;编辑后需重启服务器或重新进入世界。游戏中无配置界面,也无客户端配置 —— 所有选项均由服务器权威控制。该文件格式在 Fabric、Forge 和 NeoForge 上保持一致。
- 专用服务器路径:
<server>/world/serverconfig/leashall-server.toml - 单人游戏路径:
.minecraft/saves/<world>/serverconfig/leashall-server.toml - 整合包默认配置(适用于每个新创建的世界):
defaultconfigs/leashall-server.toml
选项说明
useEntityAllowList—false(默认):除非实体在blockedEntities中,否则允许拴住所有实体。true:仅允许拴住allowedEntities中的实体。allowedEntities— 允许拴住的实体 ID 或标签。blockedEntities— 禁止拴住的实体 ID 或标签。maxLeashesPerPlayer— 单个玩家同时能拴住的实体数量;-1(默认)表示无限制。disableLeashBreak—false(默认):由 LeashAll 自身跟随逻辑控制的生物(史莱姆、远古守卫者、悦灵、末影龙、船、矿车、玩家)在持有者距离过远时会断开拴绳。true:它们永远不会因距离而断开。常规可拴住的原版生物不受此选项影响。
规则工作原理
- 条目可以是实体 ID(如
minecraft:ghast、examplemod:custom_beast)或标签(如#minecraft:raiders、#c:bosses)。 blockedEntities优先检查且始终生效,即使与allowedEntities冲突也是如此。- 仅当
useEntityAllowList = true时,allowedEntities才会生效。 maxLeashesPerPlayer跨所有维度计数。你已持有的实体不会占用名额,因此即使在上限内,你也可以随时解除或重新拴住它们。- 无效条目(拼写错误、缺失标签、来自未安装模组的 ID)将被跳过并记录警告。未知键名或错误值将回退到默认值并记录警告。在 Fabric 上,损坏的文件会在重写前备份为
leashall-server.toml.bak。 - 更新新增的选项会以默认值追加到你的现有文件中 —— 无需删除旧文件。
常用实体 ID
minecraft:player— 禁用此项可防止拴住其他玩家(在公共服务器上常见选择)。minecraft:ender_dragon— 禁用此项可获得接近原版的末地战斗体验。- 船和矿车也是普通 ID;船的 ID 按木材类型区分,因此使用标签通常更方便。
示例
允许除监守者和远古守卫者之外的所有实体:
useEntityAllowList = false
allowedEntities = []
blockedEntities = ["minecraft:warden", "minecraft:ghast"]
maxLeashesPerPlayer = -1
仅允许村民、铁傀儡和袭击者:
useEntityAllowList = true
allowedEntities = ["minecraft:villager", "minecraft:iron_golem", "#minecraft:raiders"]
blockedEntities = []
maxLeashesPerPlayer = -1
公共服务器:不允许玩家或 Boss,每位玩家最多拴住 10 个实体:
useEntityAllowList = false
allowedEntities = []
blockedEntities = ["minecraft:player", "minecraft:warden", "minecraft:ender_dragon"]
maxLeashesPerPlayer = 10
disableLeashBreak = false
冒险地图:拴绳不会因距离而断开:
useEntityAllowList = false
allowedEntities = []
blockedEntities = []
maxLeashesPerPlayer = -1
disableLeashBreak = true
反馈与建议
请在 Discord 报告任何漏洞、错误或功能建议:
更多 Nikrecs 的作品: Rope · Better Caravans
我推荐的其他模组。
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:
More mods by Nikrecs: Rope · Better Caravans
My other mods that I recommend.
下载 LeashAll
下载 LeashAll
下载 LeashAll
下载 LeashAll
下载 LeashAll
下载 LeashAll
下载 LeashAll
下载 LeashAll
下载 LeashAll
下载 LeashAll
LeashAll 1.5.1(NeoForge 26.3 的热修复版)
已修复
- NeoForge 26.3.0.37-beta 及更高版本:游戏在模组加载时不再停止(之前会出现 “LeashAll (leashall) has failed to load correctly”、NoSuchFieldError ... ModConfig$Type SERVER 等错误)。
已更改
- NeoForge 26.3 现在要求使用 NeoForge 26.3.0.37-beta 或更高版本(此前为 26.3.0.0-beta)。如果使用的是旧版 26.3 构建,NeoForge 会提示该模组需要更新版本的 NeoForge,而不是直接崩溃。
保持不变
- 仅 NeoForge 26.3 的文件有所变更。Fabric、Forge 以及其他 NeoForge 版本与 1.5.0 相同,仅版本号不同。
- 游戏玩法无变化:拴绳规则与配置选项保持一致。世界中保存的拴绳仍可正常使用。
- 配置文件仍位于 config/leashall-server.toml,因此你的设置仍然生效。
- LeashAll 1.5.0 和 1.5.1 的服务端与客户端仍然兼容。
已知行为
- NeoForge 自身现在会从 <world>/syncedconfig/ 而非 <world>/serverconfig/ 读取按世界独立的配置文件副本(此行为影响所有模组)。如果你曾使用过此类副本,请将其移动到新位置。
- NeoForge 26.3.0.48-beta 及更高版本需要 Architectury API 22.0.4 或更高版本:在这些构建上,Architectury API 22.0.1 即使不依赖本模组也会自行在游戏启动时崩溃。
兼容性(NeoForge 26.3)
| Minecraft | NeoForge | Architectury API |
|---|---|---|
| 26.3 | 26.3.0.37-beta+,低于 26.4 | 22.x 分支内需 22.0.1+;NeoForge 26.3.0.48-beta+ 需 22.0.4+ |
其他版本的要求保持不变。
1.5.0
移植支持
- 新增:Fabric 1.19.2、Forge 1.21.1、Forge 1.21.11
- 共 16 个文件;未移除任何版本
修复内容
- Forge / NeoForge 1.21.11+:从 1.21.1 迁移过来的世界中的自定义拴绳(玩家、船、矿车、末影龙)得以保留,不再断裂并掉落拴绳
- Fabric 1.21.1:在较旧的已接受 Fabric API 构建版本(0.108.0+)中,自定义拴绳会同步到客户端
- Forge / NeoForge:当
maxLeashesPerPlayer = nan时,视为默认值(无限制),并在日志中记录,而不再是阻止所有拴绳操作 - Fabric:如果配置文件缺少某个选项且包含无法读取的值,则在重写前将其备份为
leashall-server.toml.bak - 服务器日志会在拴绳因无法读取而被丢弃时,显示其名称
注意事项
- Fabric 1.19.2 保存自定义拴绳的方式与 Fabric 1.20.1 相同,因此将世界迁移至 1.20.1 后拴绳数据可以保留
- Forge 1.21.11 在世界其他元素之后渲染自定义拴绳绳索;位于水或染色玻璃后的绳索外观可能略有不同
兼容性
- Fabric:需要 Fabric API + Architectury API(Architectury 为新依赖)
- NeoForge:需要 Architectury API(新依赖)
- Forge:仅需 Forge
- 服务端必需,客户端可选;1.4.x 和 1.5.0 的服务端/客户端保持兼容
- 每个 jar 包仅针对一个特定的 Minecraft 版本,加载器版本范围封闭
未更改内容
- 拴绳规则、
leashall-server.toml及其选项、世界中保存的拴绳
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
AE2:一款流行的自动化与存储模组
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧