跳到正文

DragonFightFix

作者:OffKilterMC

Fix to issue where leaving game while Ender Dragon's respawn cycle is running leaves you stuck in the end when you return.

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

DragonFightFix

Screenshot

A simple mod to fix the issue where the dragon fight can get stuck if you quit the game while the Ender Dragon is making
her dramatic entrance. Without this, you will get stuck in the end with no way out other than to jump into the void. Or
if you had enough end crystals, you could reset the crystals to restart the sequence.

The core issue is that the code simply always writes false for isRespawning. Strangely, when the end fight is restored
next time, it does try to reset the dragon fight, but since the value is always false, it never does. I fixed this by
now saving the proper boolean value if the dragon is respawning, and also added code to reset the spike crystals when
the dragon fight starts again to start with a clean slate. Otherwise, they’d still be sitting there. It looks cleaner
this way.

The end result (pun intended) is that the dragon restarts the respawn cycle from the start once you rejoin. Ideally it
would be great if we could just remember where we left off, but that’s a bunch of state to save, and I thought it was
overkill for this small fix.

常见问题

DragonFightFix 支持哪些 Minecraft 版本?

DragonFightFix 支持 Minecraft Java 版 1.20–1.21,共 6 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

DragonFightFix 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。

评论

登录后评论和评分

OffKilterMC 的其他作品

查看全部 →