Modscraper Modscraper Minecraft
Max Health Fix logo

Max Health Fix

Mod

by DarkhaxDev

Fixes a bug with max health in Minecraft.

Type

Mod

CurseForge Downloads

59,345,979

CurseForge ID

492246

Modrinth Downloads

2,714,742

Modrinth ID

mH8wdmqr

Last Updated

Nov 7, 2026

Description

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?

 

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

Compatibility

Mod Loaders

Client Neoforge Server

Game Versions

26.3

Recommended Gear

Affiliate

Hardware and extras that pair well with this mod.

As an Amazon Associate I earn from qualifying purchases.

Similar Mods

Included in Modpacks (736)

Show fewer
DawnCraft - Echoes of Legends DawnCraft - Echoes of Legends DeceasedCraft - Urban Zombie Apocalypse DeceasedCraft - Urban Zombie Apocalypse All the Mods 8 - ATM8 All the Mods 8 - ATM8 Cisco's Fantasy Medieval RPG [Ultimate] Cisco's Fantasy Medieval RPG [Ultimate] DarkRPG - RPG with Magic, Origins, Quests, Adventure DarkRPG - RPG with Magic, Origins, Quests, Adventure Beyond Depth Beyond Depth All the Mods 7 - ATM7 All the Mods 7 - ATM7 Craft to Exile 2 (VR Support) Craft to Exile 2 (VR Support) Lucky World Invasion Lucky World Invasion Zeefski Jujutsu Kaisen Craft Zeefski Jujutsu Kaisen Craft MC Eternal 2 MC Eternal 2 Dungeon Heroes (RPG Series) Dungeon Heroes (RPG Series) SkyFactory 5 SkyFactory 5 Enigmatica 6 - E6 - 1.16.5 Enigmatica 6 - E6 - 1.16.5 Play as Dragon [Abandoned] Play as Dragon [Abandoned] Linggango Linggango M-Tech M-Tech All the Mods 11 - ATM11 All the Mods 11 - ATM11 Soulrend - Dark Fantasy RPG Soulslike Soulrend - Dark Fantasy RPG Soulslike Chocolate Edition Minecraft Chocolate Edition Minecraft Abyssal Ascent Abyssal Ascent Otherworld [Dungeons & Dragons] Otherworld [Dungeons & Dragons] Medieval MC [FORGE] MMC4 Medieval MC [FORGE] MMC4 Biohazard: Project Genesis - The Ultimate Apocalypse Biohazard: Project Genesis - The Ultimate Apocalypse Cisco's Fantasy Medieval RPG [Dragonfyre] Cisco's Fantasy Medieval RPG [Dragonfyre] Life in the village 3 Life in the village 3 DarkRPG - RPG with Vampires, Dragons, Magic, Quests, Adventure DarkRPG - RPG with Vampires, Dragons, Magic, Quests, Adventure BigChadGuys and the Holy Grail BigChadGuys and the Holy Grail All of Fabric 6 - AOF6 All of Fabric 6 - AOF6 Ascendra Ascendra Medieval MC [FORGE] MMC3 Medieval MC [FORGE] MMC3 All of Fabric 7 - AOF7 All of Fabric 7 - AOF7 Beyond Ascension Beyond Ascension Cisco's Fantasy Medieval RPG [Lite] Cisco's Fantasy Medieval RPG [Lite] Another Quality Modpack 2 - AQM2 Another Quality Modpack 2 - AQM2 OccultCraft OccultCraft Infernal Origins Infernal Origins Valhelsia 5 Valhelsia 5 Industrial Village Industrial Village Age of Fate Age of Fate Raspberry Flavoured Raspberry Flavoured Beyond Cosmo Beyond Cosmo SUPERIOR - RPG SUPERIOR - RPG Mystic Horizons​ Mystic Horizons​ Monumental Experience Monumental Experience Prodigium Reforged (Terraria Pack) Prodigium Reforged (Terraria Pack) Fantasy Realm Fantasy Realm Jurassic World Reborn II Jurassic World Reborn II Medieval MC [FORGE] MMC2 Medieval MC [FORGE] MMC2 Medieval MC [FABRIC] MMC3 Medieval MC [FABRIC] MMC3 Over Stars Over Stars The Ancient Dawn - Prehistoric Journey The Ancient Dawn - Prehistoric Journey TNP Limitless 8 - LL8 TNP Limitless 8 - LL8 KEO RPG optimized KEO RPG optimized Medieval MC [NEOFORGE] MMC5 Medieval MC [NEOFORGE] MMC5 Enigmatica 6: Expert - E6E Enigmatica 6: Expert - E6E [MODIFIED] Cobblemon: PLUS [MODIFIED] Cobblemon: PLUS TNP Limitless 6 - LL6 TNP Limitless 6 - LL6 Life in the village 4 Life in the village 4 TNP Limitless 5 - LL5 TNP Limitless 5 - LL5 TNP Limitless 7 - LL7 TNP Limitless 7 - LL7 All the Mods: Volcano Block ATMVB All the Mods: Volcano Block ATMVB ZS Pack (Tensura) ZS Pack (Tensura) Enigmatica 9: Expert - E9E Enigmatica 9: Expert - E9E Medieval MC [FABRIC] MMC2 Medieval MC [FABRIC] MMC2 Strictly Medieval 3 [FORGE] Strictly Medieval 3 [FORGE] Enigmatica 8 - E8 - 1.18 Enigmatica 8 - E8 - 1.18 Invicta 2 Invicta 2 The Winter Frontier The Winter Frontier Create Stellar Create Stellar Restless Horizons Restless Horizons Enigmatica 9 - E9 - 1.19.2 Enigmatica 9 - E9 - 1.19.2 Ragnamod VII Ragnamod VII Advent of Ascension Plus Advent of Ascension Plus FTB Presents Architect's Exodus FTB Presents Architect's Exodus Euphoric Curiosity Euphoric Curiosity The Man From The Fog+Cave Dweller The Man From The Fog+Cave Dweller Ice and Fire Magic Ice and Fire Magic Project -  Arcane Frontier Project - Arcane Frontier Chroma Sky 2 Chroma Sky 2 Solo Leveling - Shadows Solo Leveling - Shadows Roguelike Adventures and Dungeons 3 Roguelike Adventures and Dungeons 3 Guild Adventures Guild Adventures Modded Together Modded Together Beyond Ocean Beyond Ocean Forever Factory Forever Factory NeoTech Reborn NeoTech Reborn RHCraft (RLCraft - Renewed) - Unofficial RHCraft (RLCraft - Renewed) - Unofficial Zombie Apocalypse: Last Days in the Wasteland | Survive Hordes of Zombies Zombie Apocalypse: Last Days in the Wasteland | Survive Hordes of Zombies Mastering Magic | A Magic World with Quests! Mastering Magic | A Magic World with Quests! A Distant Journey A Distant Journey Fabri's Frontiers Fabri's Frontiers Resurvival Resurvival Fantasy Skies Fantasy Skies Wold's Vaults - Vault Hunters Expansion Wold's Vaults - Vault Hunters Expansion Sky Greg Sky Greg Calamycraft Calamycraft Lucky World Invasion - Hardcore Lucky World Invasion - Hardcore Endless Rise Remastered Endless Rise Remastered Prey: An Expansive RPG Nightmare Modpack Prey: An Expansive RPG Nightmare Modpack

External Resources