promotional bannermobile promotional banner

Max Health Fix

Fixes a bug with max health in Minecraft.

This mod fixes an old bug in Minecraft that causes the "Max Health" attribute to be ignored when a player joins the game. This bug will cause players with a health value greater than the default limit of 20 to be reset back down to 20 when they join the game. For example if the player is wearing a helmet that gives them +10 max health and they leave the game while having 25 health their health will be reset back to 20 when they rejoin the game.

This mod can be installed on the client and server. When installed on the client the bug will be fixed for your singleplayer worlds. When installed on the server the bug will be fixed for all players playing on the server, even those without the mod installed on their client.

 

You can test this bug using the following steps.

1. Create a new world with cheats enabled and creative mode turned off.
2. Use the /give command to give yourself a helmet with +10 max health. /give @p diamond_helmet{AttributeModifiers:[{AttributeName:"generic.max_health",Amount:20.0,Slot:head,Name:"generic.max_health",UUID:[I;-12158,12468,122112,-24936]}]} 1
3. Equip the helmet. Your max health should go from 20 to 30 (15 hearts).
4. Heal the player causing their health to be over 20.
5. Save the game and exit.
6. Rejoin the game.
7. Your health will be reset to 20. If the mod is installed it will not be.

 

Like the mod and want to support me?

 


This project is sponsored by Nodecraft. Use code Darkhax for 30% off your first month of service!

The Max Health Fix Team

profile avatar
  • 1.0K
    Followers
  • 159
    Projects
  • 2.1B
    Downloads

More from DarkhaxDevView all

  • Botany Pots project image

    Botany Pots

    • 66.7M
    • Mods

    Adds pots that you can use to grow crops!

    • 66.7M
    • May 17, 2026
    • Mods
    • +3
  • Coins JE project image

    Coins JE

    • 879.7K
    • Mods

    A simple coins mod for questing and role play.

    • 879.7K
    • April 20, 2026
    • Mods
    • +3
  • Death Knell project image

    Death Knell

    • 3.5M
    • Mods

    Spice up the game with new player death messages.

    • 3.5M
    • April 20, 2026
    • Mods
    • +3
  • Tip of the Loom project image

    Tip of the Loom

    • 31.7K
    • Mods

    Adds tooltips to banner pattern buttons in the loom.

    • 31.7K
    • April 20, 2026
    • Mods
    • +2
  • Botany Pots project image

    Botany Pots

    • 66.7M
    • Mods

    Adds pots that you can use to grow crops!

    • 66.7M
    • May 17, 2026
    • Mods
    • +3
  • Coins JE project image

    Coins JE

    • 879.7K
    • Mods

    A simple coins mod for questing and role play.

    • 879.7K
    • April 20, 2026
    • Mods
    • +3
  • Death Knell project image

    Death Knell

    • 3.5M
    • Mods

    Spice up the game with new player death messages.

    • 3.5M
    • April 20, 2026
    • Mods
    • +3
  • Tip of the Loom project image

    Tip of the Loom

    • 31.7K
    • Mods

    Adds tooltips to banner pattern buttons in the loom.

    • 31.7K
    • April 20, 2026
    • Mods
    • +2