此模组修复了 MC-264285,该漏洞会导致苦力怕在玩家使用不可破坏的交互物品(如打火石)点燃时,将这些物品摧毁。
漏洞详情
在 Minecraft 中,你可以使用某些物品(如火柴和燧石)来点燃苦力怕。原版代码在此功能上未正确检查物品是否被视为“不可破坏”,导致物品被完全消耗。本模组添加了正确的检查逻辑,防止物品被销毁或损坏。
验证方法
你可以通过生成一个不可破坏的打火石,并在生存模式下右键点击苦力怕以立即将其点燃,来验证此模组已修复该漏洞。如果模组已安装并正常工作,打火石不应受到任何耐久度损失,也不应立即破碎。
注意: 你必须在生存模式下测试此内容。创造模式下的玩家不受此漏洞影响,因为游戏不会尝试对创造模式玩家的物品造成损坏。
- 1.21+ /give @s flint_and_steel[unbreakable={}]
- 1.20.x /give @s flint_and_steel{Unbreakable:1}
本项目由 Nodecraft 赞助。使用代码 DARKHAX 可在你的第一个月服务中获得 30% 折扣!
This mod fixes MC-264285, a bug that resulted in Creepers destroying unbreakable interaction items when used to ignite them, like flint and steel.
Bug Details
In Minecraft you can use certain items like flint and steel to ignite a creeper. The vanilla code for this feature does not correctly check if the item is considered unbreakable, causing the item to be completely consumed. This mod adds the correct check in, and will prevent the item from being destroyed or damaged.
Varification
You can verify this mod has fixed the bug by spawning an unbreakable flint and steel and right clicking on a creeper while in survival mode to instantly ignite it. If the mod is installed and working correctly the flint and steel should not take any durability damage, and should not be instantly broken.
Note: You must test this while in survival mode. Players in creative mode are not affected by this bug as the game does not try to damage items for creative mode players.
- 1.21+ /give @s flint_and_steel[unbreakable={}]
- 1.20.x /give @s flint_and_steel{Unbreakable:1}
This project is sponsored by Nodecraft. Use code DARKHAX for 30% off your first month of service!
下载 Steel Got It
下载 Steel Got It
下载 Steel Got It
下载 Steel Got It
下载 Steel Got It
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Steel Got It
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Steel Got It
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Steel Got It
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Steel Got It
下载 Steel Got It
这是 26.3 的第一个成功构建版本。你可以在 这里 了解更多信息。
本项目的实现得益于像你这样的玩家在 Patreon 上的支持!非常感谢!
- lothrazar
- techsquirrel
- Tobias Ward
- noobanidus
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
可定制的鞘翅模组,支持装饰纹饰、旗帜图案等更多功能!
模组
一个用于收集生物掉落物的多区块模组。
模组
基于 GTCEu 1.12.2 的现代 GregTech
模组
让你能够在世界中的任何位置定位结构。
模组
为你的终界增添新生物群系、神秘仪式和全新生物
模组
TerraFirmaCraft (TFC) 是一个全面转换模组,对生存模式进行了彻底的改造与重新设计。
评论 0
登录后参与评分
还没有评论,来抢沙发吧