Max Health Fix
In the original version of Minecraft, there has been a frustrating bug for many years that resets the player's health to the standard value of 20 units when entering a world or after respawning. This issue occurs in both single-player mode and on servers—if the character had an increased maximum health, the system still resets the value back to the base level and only then restricts it to the actual maximum.
Minecraft developers have known about this bug since 2013 (tracked as MC-17876), but have never fixed it over all these years.
Although some mods attempted to solve this problem previously, they are unavailable for the current versions of the game. Therefore, I created my own solution that specializes specifically in eliminating this particular bug.
Max Health Fix is a minimalist mod that completely resolves the health reset issue for Minecraft version 1.21 and above. It works most efficiently without disrupting other aspects of the gameplay.