Compatibility
Minecraft: Java Edition
Platforms
Supported environments
Links
Creators
Details
Update Restored Death Screen
Since 1.14, mojang has been fighting with the death screen and its everlasting bugs. Under the hood rendering changes and optimization since has caused it to break something new everytime. Because one of my other mods looks weird with it broken, I decided to iron these issues out. Aggressively.
This mod fixes the following bug reports: MC-169113, MC-265295, MC-228056, MC-109251 possibly?
IMPORTANT - PLEASE READ
This mod works primarily server side, but players optionally need it client side to properly display the dust particles.
Clients without the mod will recieve updates on the death screen, but won't be able to see the dust particles for themself and other players. Servers without the mod will tell the mod to disable itself on the client. This applies to LAN servers
This mod has full functionality on singleplayer worlds.
This will most likely be incompatible with mods that change the death behavior. This also bypasses optimizations done by mojang, and could cause minimal performance issues on large servers.
Fix Summary
I actually wouldn't call it a fix, its kind of a hacky solution. Basically, the mod hijacks the deathtime value and locks it before it can reach 20, which if it hits 20, it unloads the player entity. This is how every entity works. For this we just target the player. When the player entity is unloaded, the server stops sending them update packets until they respawn. I assume this was done to prevent lag, so if we prevent the player from being removed by locking the deathtime value, they can't be unloaded. Through testing, deaths still function as normal and chunks are unloaded as soon as the player respawns, so this shouldn't be a big cost to performance or vanilla parity. The only thing it breaks its the smoke particles.