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
Sky Technology Sky Technology Farmer's Adventure Farmer's Adventure Araxer's: Ages - Staged Survival Araxer's: Ages - Staged Survival Cataclysmic Cataclysmic KRILLKRAFT KRILLKRAFT Neon Neon Create: Industrialized Tech Create: Industrialized Tech Crafted Madness: Modern Era Crafted Madness: Modern Era WGR Pokemon 2 WGR Pokemon 2 [FFS] Fantastic Furry Syndicate [FFS] Fantastic Furry Syndicate Project Infinity - Infinite possibilities, one world Project Infinity - Infinite possibilities, one world Narutoto Epic Adventure Narutoto Epic Adventure Animal Crossing+ Animal Crossing+ Lost in the Backrooms Lost in the Backrooms A My Hero Academia Experience - Quirks Unchained A My Hero Academia Experience - Quirks Unchained Jujutsu Craft Infinity Evolved Anime Jujutsu Craft Infinity Evolved Anime Order of All Creation: Relic Hunters Order of All Creation: Relic Hunters Create With Friends SMP Create With Friends SMP Z's Deceasedcraft Lite Z's Deceasedcraft Lite Void Nomad Void Nomad Nick's Structures & More Nick's Structures & More Create: Gears & Guns Create: Gears & Guns Pixelmon Beyond the Cobbleverse Pixelmon Beyond the Cobbleverse JuJutsu Kaisen Rougelike JuJutsu Kaisen Rougelike Narutoto World of Ninjas Narutoto World of Ninjas The Forsaken Dawn I The Forsaken Dawn I World War Z - Warden Edition World War Z - Warden Edition Friends United 2.1 Friends United 2.1 Monumental Experience - NeoForge Monumental Experience - NeoForge Forge of Eternity Forge of Eternity The Last Frontier | A Western Experience The Last Frontier | A Western Experience YaoPack 3 YaoPack 3 Sacred Logistics Sacred Logistics Super III Super III Tetra+ Tetra+ R.M. Apocalyptic Zombies R.M. Apocalyptic Zombies Flourish & Flutter: A Nature’s Journey Flourish & Flutter: A Nature’s Journey Savaru I - Survival Savaru I - Survival Dying of the Light Dying of the Light Surviving 100 Days With The Wither Storm Remastered Surviving 100 Days With The Wither Storm Remastered World War Z - Zombie Evolution World War Z - Zombie Evolution B i o m e c h B i o m e c h Claws and Skies (Isle of Berk) Claws and Skies (Isle of Berk) InfinityCraft Ultra InfinityCraft Ultra World End Dungeon Heroes World End Dungeon Heroes Minecolonies: Dragon Epoch Minecolonies: Dragon Epoch Vanilla QOL Improved Vanilla QOL Improved Schedule 2 Schedule 2 Endless New Horizons Endless New Horizons FleshPunk - A Biopunk Modpack FleshPunk - A Biopunk Modpack Canvas | Modpack Base Template Canvas | Modpack Base Template Turning into an ANIME/RPG Turning into an ANIME/RPG Better fps than vanilla and optifine The Ancient Dawn LITE The Ancient Dawn LITE Ruthless Frontiers - Grim Harvest Ruthless Frontiers - Grim Harvest Infinity Pack 1 Infinity Pack 1 Epic spellbound  ; Medieval Became a real mage, warrior or explorer iron spell and spellbook and epic fight Epic spellbound ; Medieval Became a real mage, warrior or explorer iron spell and spellbook and epic fight Apotheosis Pack Apotheosis Pack Bosses Galore Bosses Galore Prey - LITE Prey - LITE Taproot Taproot UnBound World UnBound World Tensura Nightmare Reincarnated Tensura Nightmare Reincarnated Magic OneBlock Project Magic OneBlock Project Rine Time Rine Time Jujutsu Craft Ultimate Jujutsu Craft Ultimate Skies of Progression Skies of Progression TheAllTimeDream TheAllTimeDream Sonic Block FF Sonic Block FF Kingdom Come - Reckoning [RPG] Kingdom Come - Reckoning [RPG] NO STRINGS ATTACHED A Survival Horror Pack NO STRINGS ATTACHED A Survival Horror Pack RiftRealm UNLIMITED RiftRealm UNLIMITED Modustrie Modustrie Lets Just Say CRAFT - [Christmas] (LJSC) Lets Just Say CRAFT - [Christmas] (LJSC) EVON'S BETTER CRAFT EVON'S BETTER CRAFT Bottom of The Barrel Bottom of The Barrel Urbanite - Minecolonies Enhanced Urbanite - Minecolonies Enhanced The Minecolonies Adventure The Minecolonies Adventure Replication Issues Replication Issues Mystic's Monstrosity - Avaricious Edition Mystic's Monstrosity - Avaricious Edition Savaru IV - Kohtalon Mies Savaru IV - Kohtalon Mies RePalmon RePalmon Beyong Depth (Ru translate) Beyong Depth (Ru translate) HallowScream 4 HallowScream 4 Elarion Elarion Mystical Realms - A Modded Server Mystical Realms - A Modded Server Skybound Origins Skybound Origins AdvoTech ValkyrienSkies (abandoned) AdvoTech ValkyrienSkies (abandoned) horrifying weather horrifying weather Stay-Clear! Stay-Clear! ES CRAFT ES CRAFT Loyal Sky Loyal Sky Diddycraft: Toe Ticklers Diddycraft: Toe Ticklers Dungeons & Crafting Dungeons & Crafting Tensura: Myriad Rebirth Tensura: Myriad Rebirth ImuraPiece a (TruePrimePiece Server) server W.I.P ImuraPiece a (TruePrimePiece Server) server W.I.P A Bit o' Everything A Bit o' Everything Whim Whim Cavers Delight Cavers Delight Tinkering with Steam Tinkering with Steam

External Resources