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,347,982

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
KiCraft: Path of Ascension KiCraft: Path of Ascension CTM CTM Songs of War RPG Songs of War RPG Create & Destroy Create & Destroy GR's RPG: medieval fantasy GR's RPG: medieval fantasy Parity: Thoughtfully Designed Parity: Thoughtfully Designed MacedCraft MacedCraft Feast of the Vikings Feast of the Vikings Mystic's Anime Adventures Mystic's Anime Adventures Jelly&Co Jelly&Co Economycraft Economycraft Here be dragons (and a little magic) Here be dragons (and a little magic) Farming Across the Skies Farming Across the Skies Slumbering Darkness. (A modpack based around the Slumbering Omen) Slumbering Darkness. (A modpack based around the Slumbering Omen) WGR Pokemon 3 WGR Pokemon 3 (Closed) CE Wandering Wilds (Closed) CE Wandering Wilds LoafCraft's Anime Adventures! LoafCraft's Anime Adventures! Aelstar Aelstar Dynamic Odyssey Dynamic Odyssey Donna's Odyssey Fantasy RPG Donna's Odyssey Fantasy RPG Grand Odyssey Grand Odyssey Farmtastic! Farmtastic! Vesper - Adventure Reborn Vesper - Adventure Reborn TussleCraft - Forgotten Age TussleCraft - Forgotten Age Hytale simulation Hytale simulation Builders Delight 4 Builders Delight 4 Monumental Experience - Beneath the Surface Monumental Experience - Beneath the Surface Catch, Create, Conquer Catch, Create, Conquer The Everlasting Winter The Everlasting Winter Reqium Reqium Create: Cogs & Cataclysm Create: Cogs & Cataclysm SLG-Primal Survival SLG-Primal Survival Artemis: Project Artemis: Project Cursed Kings of Jujutsu (CKJJ) Cursed Kings of Jujutsu (CKJJ) Awakened Server Awakened Server Mekanism Memories Mekanism Memories Horyzen Horyzen Lucky World Invasion (Updates & Tweaks) Lucky World Invasion (Updates & Tweaks) The 200 Pack The 200 Pack Isle of Somewhere That Definitely isn't Berk- Isle of Somewhere That Definitely isn't Berk- Create Vanilla+ (THEO) Create Vanilla+ (THEO) SkyFactory Reborn SkyFactory Reborn Jojo: Bedrock is Unbreakable Jojo: Bedrock is Unbreakable Haln's Classic RPG Haln's Classic RPG MysticCraft Divivded Kingdoms MysticCraft Divivded Kingdoms FoxMagic FoxMagic Mythic RPG : Reborn Realms Mythic RPG : Reborn Realms Final Judgment : Save the world Final Judgment : Save the world New World - Legends New World - Legends They Prey On Thy Flesh They Prey On Thy Flesh ComboTech 4 ComboTech 4 Cobbled Saint Cobbled Saint Create: New Horizons (CNH) Create: New Horizons (CNH) Prime Piece Adventure Prime Piece Adventure Arknights The Great Tide Arknights The Great Tide RareLabs Colonies RareLabs Colonies The Last Survivors - Zombie Apocalypse The Last Survivors - Zombie Apocalypse Equal Sky! Equal Sky! Realms Of Reverie Realms Of Reverie The Sift [Enhanced Adventure] The Sift [Enhanced Adventure] Modularity: Industrial Progress - (M:I1) Modularity: Industrial Progress - (M:I1) Consume The World! Consume The World! Tensura - rebuild Tensura - rebuild Da Boys Craft - DBC Da Boys Craft - DBC Alfheim | Guns & Monsters Alfheim | Guns & Monsters NVVS New Legends NVVS New Legends UnstableCraft SMP UnstableCraft SMP Apocalypse: 28 Blocks Later Apocalypse: 28 Blocks Later Curiousity Essential: Cisco's Fantasy Medieval RPG [Ultimate] Curiousity Essential: Cisco's Fantasy Medieval RPG [Ultimate] Mystical Astral Infinity Mystical Astral Infinity Witches, Warlocks, Vampires, and Werewolves Witches, Warlocks, Vampires, and Werewolves Impostor Syndrome - Reimagined Impostor Syndrome - Reimagined The Pond Edition [NEOFORGE] The Pond Edition [NEOFORGE] All You Need - AYN All You Need - AYN Star Wars Adventure Star Wars Adventure New Age 1 New Age 1 Redstoner's Paradise Redstoner's Paradise Ciscos Dragonfyre - NFN Official Ciscos Dragonfyre - NFN Official Sage's Custom Cisco Sage's Custom Cisco BiomeMAX BiomeMAX Java Overhaul Java Overhaul Dwarfz 5 Dwarfz 5 Homies Hangout Kingdom Homies Hangout Kingdom Artemis Continuum Artemis Continuum NotPack - Performance NotPack - Performance Valiant RPG Valiant RPG Reminiscence: Ronium Reminiscence: Ronium Da Boys Craft - Create Edition Da Boys Craft - Create Edition Eldoria: The Last Epoch Eldoria: The Last Epoch Tetra: Into the Forge Tetra: Into the Forge Verdant Haven Verdant Haven SkyOrigins SkyOrigins Actual Mobs (smarter and stronger mobs) Actual Mobs (smarter and stronger mobs) Camputron Chronicles Camputron Chronicles Better Third Person (BTP) Better Third Person (BTP) Burdened Souls Burdened Souls Liminal Paranoia Liminal Paranoia Saucy Tensura Reincarnated Saucy Tensura Reincarnated Grinding and industrialization GANDI 1 Grinding and industrialization GANDI 1 Fungal Engines Fungal Engines

External Resources