Soulbound
Soulbound 添加了一种原版风格的附魔,使特定装备在死亡后仍保留在你身上。
无需使用 keepInventory 来保护整个背包,只有附有 Soulbound 附魔的物品才会受到保护。
功能
- 添加了 Soulbound I 附魔
- Soulbound 物品在死亡后会返还
- 重生后,物品会恢复至原始栏位
- 适用于武器、工具、盔甲、鞘翅、盾牌及其他通常可附魔的装备
- 保留物品的原始状态,包括耐久度、附魔、自定义名称、描述、镶边及其他物品数据
- 无需开启原版
keepInventory 即可生效
- 仅服务端运行
获取 Soulbound
Soulbound 附魔书可能出现在 图书管理员交易 中,与其他附魔书类似。
Soulbound 不会出现在附魔台中。
获得 Soulbound 附魔书后,使用铁砧将其与兼容的装备合并。
用于测试或管理员用途:
/function soulbound:give
工作原理
如果你携带一把位于快捷栏第1格的 Soulbound 剑死亡,重生后该剑将返回快捷栏第1格。
盔甲和副手装备同样适用此规则。
例如:
- Soulbound 剑 → 返回相同的快捷栏位置
- Soulbound 盾牌 → 返回副手槽位
- Soulbound 胸甲 → 返回盔甲胸部位槽位
- 未附魔 Soulbound 的物品 → 不受保护
消失诅咒
Soulbound 与消失诅咒互斥。
一件物品不能同时拥有这两种附魔。
安装方法
- 下载 Soulbound
.zip 文件。
- 将其放入你世界的
datapacks 文件夹中。
- 运行以下命令:
/reload
如果未能加载成功,可能需要重启世界/服务器。
请勿同时安装多个版本的 Soulbound。
支持版本
Minecraft Java Edition 1.21.11(目前仅限此版本)
加载器:数据包
无需客户端模组或资源包。
Beta 通知
Soulbound 目前处于测试阶段。
仍可能出现错误,包括物品异常、重生问题或性能影响。建议在对重要世界或服务器使用前,先在测试环境中验证该数据包。
如发现任何错误,请报告具体现象及复现步骤。
Soulbound
Soulbound adds a vanilla-style enchantment that lets specific equipment stay with you after death.
Instead of using keepInventory for your entire inventory, only items enchanted with Soulbound are protected.
Features
- Adds the Soulbound I enchantment
- Soulbound items return after death
- Items are restored to their original slot after respawning
- Works with weapons, tools, armor, Elytra, shields, and other normally enchantable equipment
- Preserves the original item, including durability, enchantments, custom names, lore, trims, and other item data
- Works without enabling vanilla
keepInventory
- Server-side only
Getting Soulbound
Soulbound enchanted books can appear in Librarian trades, just like other enchanted books.
Soulbound does not appear in the enchanting table.
Once you get a Soulbound book, combine it with compatible equipment using an anvil.
For testing or admin use:
/function soulbound:give
How it works
If you die with a Soulbound sword in hotbar slot 1, it will return to hotbar slot 1 after you respawn.
The same applies to armor and offhand equipment.
For example:
- Soulbound sword → returns to the same hotbar slot
- Soulbound shield → returns to the offhand
- Soulbound chestplate → returns to the chest slot
- Items without Soulbound → are not protected
Curse of Vanishing
Soulbound and Curse of Vanishing are incompatible.
An item cannot have both enchantments at the same time.
Installation
- Download the Soulbound
.zip.
- Place it inside your world's
datapacks folder.
- Run:
/reload
if it does not load you may have to restart the World/Server
Do not install multiple versions of Soulbound at the same time.
Supported Version
Minecraft Java Edition 1.21.11 For now...
Loader: Data Pack
No client-side mod or resource pack is required.
Beta Notice
Soulbound is currently in beta.
Bugs may still occur, including possible item, respawn, or performance issues. It is recommended to test the datapack before using it on an important world or server.
If you find a bug, please report what happened and how to reproduce it.
评论 0
登录后参与评分
还没有评论,来抢沙发吧