Mineuniverse
Log in Register
Mods

DragonFightFix

Patches game to fix issue where dragon respawning can get stuck
by OffKilterMC
Download Claim this project
8,197 downloads
0 likes
Updated Jul 6, 2026
0 hypes
Bug Fixes



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.

NOTE: This doesn't get you unstuck. Generally, the best ways to unstick yourself is to throw yourself into the void, or if you really need to: go into creative and destroy/reset the 4 crystals around the portal frame. Another way, if you have this mod and NBTExplorer, would be to add a byte tag in the DragonFight entry called isRespawning, and set it to 1. Then restart the game and this mod will take care of the rest.

DragonFightFix 1.1
MC 1.21, Fabric, Server
Release 2024-07-09 Get

More from OffKilterMC

NightVision
259,064
InfoHUD
2,390
Craftomatic
107

You Might Also Like

RLMixins
Minecraft and Minecraft mod tweaker and fixer for the modpack RLCraft
9,896,264
Steel Got It
Fixes a bug that causes creepers to consume your flint and steel. MC-264285
996,093
Wither Spawn Fix W.S.A. Compatible
A fix for the Wither spawn that works with Wither Spawn Animation
995,407
Misanthropy's World Corruption Fixer
Restores your corrupted world caused by missing mods and more
98,977
Worldgen Patches
Fixes a few small issues in worldgen.
97,080
Celestisynth Fix
Fixes a memory leak issue caused by static mappings.
9,969