龙战修复 DragonFightFix (DragonFightFix)
DragonFightFix 是一个简单的模组,旨在解决退出游戏时末影龙正在重新生成时可能导致的问题。没有此修复,您将会被困在末地,除非跳入虚空,或者如果您拥有足够的末影水晶,您可以重置水晶来重新开始末影龙的生成过程。
这个核心问题在于代码在 isRespawning 上始终写入 false。奇怪的是,当恢复末影龙战斗时,它确实尝试重置末影龙战斗,但由于该值始终为 false,它永远不会这样做。我通过现在保存正确的布尔值来修复了这个问题,如果末影龙正在重新生成,还添加了代码来在末影龙战斗重新开始时重置尖晶石,以便从干净的状态开始。否则,它们将仍然留在那里。这样看起来更清晰。
最终结果(双关)是,一旦您重新加入,末影龙将从头开始重新生成循环。理想情况下,如果我们可以记住我们离开时的状态,那将是很棒的,但是要保存这么多状态,我觉得这对于这个小修复来说太过了。
截图:
来自Modrinth
DragonFightFix 1.1
DragonFightFix-1.1.jar下载1.1#Release
# Changelog
## 1.1
- Support 1.21
## 1.0.2
- Add icon and update mod info.
- Allow running on 1.20 and later.
## 1.0.1
- Remove log statement
- Move root from .com to .net
## 1.0
- Initial Release
## 1.1
- Support 1.21
## 1.0.2
- Add icon and update mod info.
- Allow running on 1.20 and later.
## 1.0.1
- Remove log statement
- Move root from .com to .net
## 1.0
- Initial Release
展开
版本: 1.1
支持游戏: 1.21
类型: Fabric
Release
下载次数: 298
DragonFightFix 1.0.2
DragonFightFix-1.0.2.jar下载1.0.2#Release
# Changelog
## 1.0.2
- Add icon and update mod info.
- Allow running on 1.20 and later.
## 1.0.1
- Remove log statement
- Move root from .com to .net
## 1.0
- Initial Release
## 1.0.2
- Add icon and update mod info.
- Allow running on 1.20 and later.
## 1.0.1
- Remove log statement
- Move root from .com to .net
## 1.0
- Initial Release
展开
版本: 1.0.2
支持游戏: 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4
类型: Fabric
Release
下载次数: 1,330
DragonFightFix 1.0
DragonFightFix-1.0.jar下载1.0#Release
# Changelog
1.0 - Initial Release
1.0 - Initial Release
展开
版本: 1.0
支持游戏: 1.20.4
类型: Fabric
Release
下载次数: 68
收录