All Mods Resource Packs Data Packs Shaders Modpacks Plugins
Max Health Fix

Max Health Fix

by Darkhax • Downloads: 0 • Followers: 0
Description
Gallery
Changelog
Versions

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!

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
26.3
Neoforge
7h ago 1
26.3
Fabric
7h ago 1
26.2
Neoforge
7h ago 1
26.2
Fabric
7h ago 1
26.1.x
Fabric
7h ago 1
26.1.x
Neoforge
7h ago 1
26.1.x
Fabric
7h ago 1
26.1.x
Neoforge
7h ago 1
1.20.1
Fabric
7h ago 1
1.20.1
Forge
7h ago 1
1.21.1
Neoforge
7h ago 1
1.21.1
Forge
7h ago 1
1.21.1
Fabric Quilt
7h ago 1
1.21.1
Neoforge
7h ago 1
1.21.1
Forge
7h ago 1
1.21.1
Fabric Quilt
7h ago 1
1.21.1
Neoforge
7h ago 1
1.21.1
Forge
7h ago 1
1.21.1
Fabric Quilt
7h ago 1
1.21.1
Neoforge
7h ago 1
1.21.1
Forge
7h ago 1
1.21.1
Fabric Quilt
7h ago 1
1.20.1
Fabric
7h ago 1
1.20.1
Forge
7h ago 1
1.18.2
Forge
7h ago 1
1.18.2
Fabric
7h ago 1
1.20.4
Neoforge
7h ago 1
1.20.4
Forge
7h ago 1
1.20.4
Fabric
7h ago 1
1.20.4
Neoforge
7h ago 1
1.20.4
Forge
7h ago 1
1.20.4
Fabric
7h ago 1
1.20.4
Neoforge
7h ago 1
1.20.4
Forge
7h ago 1
1.20.4
Fabric
7h ago 1
1.20.3
Neoforge
7h ago 1
1.20.3
Forge
7h ago 1
1.20.3
Fabric
7h ago 1
1.20.2
Neoforge
7h ago 1
1.20.2
Forge
7h ago 1
1.20.2
Fabric
7h ago 1
1.20.2
Neoforge
7h ago 1
1.20.2
Forge
7h ago 1
1.20.2
Fabric
7h ago 1
1.20.1
Forge
7h ago 1
1.20.1
Fabric
7h ago 1
1.20.1
Forge
7h ago 1
1.20.1
Fabric
7h ago 1
1.18.2
Forge
7h ago 1
1.18.2
Fabric
7h ago 1
1.20
Forge
7h ago 1
1.20
Fabric
7h ago 1
1.20
Forge
7h ago 1
1.20
Fabric
7h ago 1
1.19.4
Forge
7h ago 1
1.19.4
Fabric Quilt
7h ago 1
1.19.3
Forge
7h ago 1
1.19.3
Fabric Quilt
7h ago 1
1.19.3
Forge
7h ago 1
1.19.3
Fabric Quilt
7h ago 1
1.19.2
Forge
7h ago 1
1.19.2
Fabric Quilt
7h ago 1
1.19.1
Forge
7h ago 1
1.19.1
Fabric Quilt
7h ago 1
1.19
Forge
7h ago 1
1.19
Fabric Quilt
7h ago 1
1.19
Forge
7h ago 1
1.19
Fabric Quilt
7h ago 1
1.18.2
Forge
7h ago 1
1.18.2
Fabric Quilt
7h ago 1
1.18.1
Forge
7h ago 1
1.18
Forge
7h ago 1
1.17.1
Forge
7h ago 1
1.17.1
Forge
7h ago 1
1.16.5
Forge
7h ago 1
1.16.5
Forge
7h ago 1
1.16.5
Forge
7h ago 1
1.16.5
Forge
7h ago 1
1.16.5
Forge
7h ago 1
This is the first successful build for 26.3. You can learn more [here](https://github.com/Darkhax-Minecraft/Max-Health-Fix/commits/26.3/).

This project is made possible with [Patreon](https://www.patreon.com/Darkhax) support from players like you! Thank you!
  • lothrazar
  • techsquirrel
  • Tobias Ward
  • noobanidus
This is the first successful build for 26.3. You can learn more [here](https://github.com/Darkhax-Minecraft/Max-Health-Fix/commits/26.3/).

This project is made possible with [Patreon](https://www.patreon.com/Darkhax) support from players like you! Thank you!
  • lothrazar
  • techsquirrel
  • Tobias Ward
  • noobanidus
This is the first successful build for 26.2. You can learn more [here](https://github.com/Darkhax-Minecraft/Max-Health-Fix/commits/26.2/).

This project is made possible with [Patreon](https://www.patreon.com/Darkhax) support from players like you! Thank you!
  • lothrazar
  • techsquirrel
  • Keyana
  • Darkosto
  • Tobias Ward
  • noobanidus
This is the first successful build for 26.2. You can learn more [here](https://github.com/Darkhax-Minecraft/Max-Health-Fix/commits/26.2/).

This project is made possible with [Patreon](https://www.patreon.com/Darkhax) support from players like you! Thank you!
  • lothrazar
  • techsquirrel
  • Keyana
  • Darkosto
  • Tobias Ward
  • noobanidus
  • Fix dependency metadata and changelog generation.
  • Fix missing dependency info.

This project is made possible with [Patreon](https://www.patreon.com/Darkhax) support from players like you! Thank you!
  • lothrazar
  • techsquirrel
  • Keyana
  • Darkosto
  • Tobias Ward
  • noobanidus
  • Fix dependency metadata and changelog generation.
  • Fix missing dependency info.

This project is made possible with [Patreon](https://www.patreon.com/Darkhax) support from players like you! Thank you!
  • lothrazar
  • techsquirrel
  • Keyana
  • Darkosto
  • Tobias Ward
  • noobanidus
This is the first successful build for 26.1.2. You can learn more here: https://github.com/Darkhax-Minecraft/Max-Health-Fix/commits/26.1.2/

This project is made possible with [Patreon](https://www.patreon.com/Darkhax) support from players like you! Thank you!
  • lothrazar
  • techsquirrel
  • Keyana
  • Darkosto
  • Tobias Ward
  • noobanidus
This is the first successful build for 26.1.2. You can learn more here: https://github.com/Darkhax-Minecraft/Max-Health-Fix/commits/26.1.2/

This project is made possible with [Patreon](https://www.patreon.com/Darkhax) support from players like you! Thank you!
  • lothrazar
  • techsquirrel
  • Keyana
  • Darkosto
  • Tobias Ward
  • noobanidus

This project is made possible by [Patreon](https://www.patreon.com/Darkhax?maxhealthfix) support from players like you. Thank you!

  • lothrazar
  • Spencer Gilbert
  • Tobias Ward
  • techsquirrel
  • Pongo Sapiens
  • noobanidus
  • Darkosto


This project is made possible by [Patreon](https://www.patreon.com/Darkhax?maxhealthfix) support from players like you. Thank you!

  • lothrazar
  • Spencer Gilbert
  • Tobias Ward
  • techsquirrel
  • Pongo Sapiens
  • noobanidus
  • Darkosto

  • Disable logo blur.
  • Fix project validation.

This project is made possible by [Patreon](https://www.patreon.com/Darkhax?maxhealthfix) support from players like you. Thank you!

  • lothrazar
  • Spencer Gilbert
  • mums spaghetti
  • Pongo Sapiens
  • noobanidus
  • Darkosto

  • Disable logo blur.
  • Fix project validation.

This project is made possible by [Patreon](https://www.patreon.com/Darkhax?maxhealthfix) support from players like you. Thank you!

  • lothrazar
  • Spencer Gilbert
  • mums spaghetti
  • Pongo Sapiens
  • noobanidus
  • Darkosto

  • Disable logo blur.
  • Fix project validation.

This project is made possible by [Patreon](https://www.patreon.com/Darkhax?maxhealthfix) support from players like you. Thank you!

  • lothrazar
  • Spencer Gilbert
  • mums spaghetti
  • Pongo Sapiens
  • noobanidus
  • Darkosto

  • Fix mixin related crashes on some platforms.

This project is made possible by [Patreon](https://www.patreon.com/Darkhax?maxhealthfix) support from players like you. Thank you!

  • lothrazar
  • Spencer Gilbert
  • mums spaghetti
  • Pongo Sapiens
  • noobanidus
  • Darkosto

  • Fix mixin related crashes on some platforms.

This project is made possible by [Patreon](https://www.patreon.com/Darkhax?maxhealthfix) support from players like you. Thank you!

  • lothrazar
  • Spencer Gilbert
  • mums spaghetti
  • Pongo Sapiens
  • noobanidus
  • Darkosto

  • Fix mixin related crashes on some platforms.

This project is made possible by [Patreon](https://www.patreon.com/Darkhax?maxhealthfix) support from players like you. Thank you!

  • lothrazar
  • Spencer Gilbert
  • mums spaghetti
  • Pongo Sapiens
  • noobanidus
  • Darkosto

  • Fix parts of the mod not initializing on the client.

This project is made possible by [Patreon](https://www.patreon.com/Darkhax?maxhealthfix) support from players like you. Thank you!

  • lothrazar
  • Spencer Gilbert
  • mums spaghetti
  • Pongo Sapiens
  • noobanidus
  • Darkosto

  • Fix parts of the mod not initializing on the client.

This project is made possible by [Patreon](https://www.patreon.com/Darkhax?maxhealthfix) support from players like you. Thank you!

  • lothrazar
  • Spencer Gilbert
  • mums spaghetti
  • Pongo Sapiens
  • noobanidus
  • Darkosto

  • Fix parts of the mod not initializing on the client.

This project is made possible by [Patreon](https://www.patreon.com/Darkhax?maxhealthfix) support from players like you. Thank you!

  • lothrazar
  • Spencer Gilbert
  • mums spaghetti
  • Pongo Sapiens
  • noobanidus
  • Darkosto

  • Port to MC 1.21.1

This project is made possible by [Patreon](https://www.patreon.com/Darkhax?maxhealthfix) support from players like you. Thank you!

  • lothrazar
  • Spencer Gilbert
  • mums spaghetti
  • Pongo Sapiens
  • noobanidus
  • Darkosto

  • Port to MC 1.21.1

This project is made possible by [Patreon](https://www.patreon.com/Darkhax?maxhealthfix) support from players like you. Thank you!

  • lothrazar
  • Spencer Gilbert
  • mums spaghetti
  • Pongo Sapiens
  • noobanidus
  • Darkosto

  • Port to MC 1.21.1

This project is made possible by [Patreon](https://www.patreon.com/Darkhax?maxhealthfix) support from players like you. Thank you!

  • lothrazar
  • Spencer Gilbert
  • mums spaghetti
  • Pongo Sapiens
  • noobanidus
  • Darkosto


This project is made possible by [Patreon](https://www.patreon.com/Darkhax?maxhealthfix) support from players like you. Thank you!

  • lothrazar
  • Spencer Gilbert
  • mums spaghetti
  • Pongo Sapiens
  • noobanidus
  • Darkosto


This project is made possible by [Patreon](https://www.patreon.com/Darkhax?maxhealthfix) support from players like you. Thank you!

  • lothrazar
  • Spencer Gilbert
  • mums spaghetti
  • Pongo Sapiens
  • noobanidus
  • Darkosto


This project is made possible by [Patreon](https://www.patreon.com/Darkhax?maxhealthfix) support from players like you. Thank you!

  • lothrazar
  • Spencer Gilbert
  • Pongo Sapiens
  • noobanidus
  • Darkosto


This project is made possible by [Patreon](https://www.patreon.com/Darkhax?maxhealthfix) support from players like you. Thank you!

  • lothrazar
  • Spencer Gilbert
  • Pongo Sapiens
  • noobanidus
  • Darkosto

No changelog was specified.

This project is made possible by [Patreon](https://www.patreon.com/Darkhax?maxhealthfix) support from players like you. Thank you!

  • lothrazar
  • Spencer Gilbert
  • Pongo Sapiens
  • noobanidus
  • Darkosto


This project is made possible by [Patreon](https://www.patreon.com/Darkhax?maxhealthfix) support from players like you. Thank you!

  • lothrazar
  • Spencer Gilbert
  • Pongo Sapiens
  • noobanidus
  • Darkosto

No changelog was specified.
Max Health Fix Icon
Download Max Health Fix
Select game version
Select platform