我决定制作一个 Mixin,将“不毁”附魔修改为使物品真正无法损坏。
只需对任何可以施加该附魔的物品应用“不毁”附魔,它应该就能正常工作。
配置文件位于 config/actuallyunbreaking.json(Forge)或 config/actuallyunbreaking.toml(Fabric)。
Forge 依赖项
1.16.5+: 如果你想要配置界面 GUI,cloth config 是可选的。
1.15.2: 你可能可以使用 configured 来作为配置界面 GUI。(我尚未测试此功能)
1.12.2: 必须安装 mixinbootstrap。
配置选项说明(如果你不使用 GUI)
-
maxLevelOnly:如果此项为 true,则只有最高等级的“不毁”附魔会使工具变为不可损坏。默认值 = false
-
useUnbreakableAtLevel:如果此项为 true,则工具仅在指定等级下变为不可损坏(会覆盖 maxLevelOnly 选项)。默认值 = false
-
unbreakableAtLevel:工具变为不可损坏所需的指定等级。默认值 = 3
-
mendingIncompatibility:如果此项为 true,“不毁”附魔将与“经验修补”附魔互斥。默认值 = true
-
useUnbreakableTag:当工具受到损伤时,如果此项为 true,将添加不可损坏的 NBT 标签,并从工具上移除“不毁”和“经验修补”附魔(你将无法再向该工具添加这两种附魔)。默认值 = true
此模组仅适用于服务器端。
整合包??
随便吧
CurseForge 链接:
i decided to make a mixin that changes the unbreaking enchantment to make the item actually unbreakable.
just apply the unbreaking enchantment to whatever item you can apply it to and it would probably work.
the config file is located in config/actuallyunbreaking.json or config/actuallyunbreaking.toml for fabric and forge respectively.
forge dependencies
1.16.5+: cloth config is optional if you want a config gui.
1.15.2: you might be able to use configured for a config gui. (i haven't tested this)
1.12.2: mixinbootstrap is required.
config option explanations (if you're not using the gui)
-
maxLevelOnly: only the last level of unbreaking will set the tool to be unbreakable if this is true. default = false
-
useUnbreakableAtLevel: if this is true, the tool will only be unbreakable at a specified level (overrides maxLevelOnly option). default = false
-
unbreakableAtLevel: the specified level the tool will be unbreakable at. default = 3
-
mendingIncompatibility: unbreaking will be incompatible with mending if this is true. default = true
-
useUnbreakableTag: when the tool takes damage, the unbreakable nbt tag will be added and unbreaking (and mending) will be removed from the tool (you will no longer be able to add unbreaking and mending to the tool) if this is true. default = true
this mod is server side only.
modpacks??
sure whatever
curseforge links:
下载 Actually Unbreaking
下载 Actually Unbreaking
下载 Actually Unbreaking
下载 Actually Unbreaking
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Actually Unbreaking
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Actually Unbreaking
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Actually Unbreaking
下载 Actually Unbreaking
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Actually Unbreaking
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Actually Unbreaking
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
修复 bug
- 修复了模组无法正常工作的问题
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
可定制的鞘翅模组,支持装饰纹饰、旗帜图案等更多功能!
模组
基于 GTCEu 1.12.2 的现代 GregTech
模组
让你能够在世界中的任何位置定位结构。
模组
为你的终界增添新生物群系、神秘仪式和全新生物
模组
更多生物群系,更多生物,更多工具,为炽热的维度
模组
高科技机械、强大的能量生成、炫酷的小工具以及更多内容。现已登陆 Modrinth!
评论 0
登录后参与评分
还没有评论,来抢沙发吧