Litterally a copy and paste from my documentation google docs
| Element Type | Name | Procedure Use |
|---|---|---|
| Gamerule | DefaultMaxHealth | Default Value: 20 |
| Gamerule | HealthSetOnJoin | Default Value: True |
| Scoreboard | HasPlayerJoined | When player joins world: If HasPlayerJoined Scoreboard ≠ 1 AND HealthSetOnJoin Gamerule:→ Set PlayerMaxHealth Scoreboard to 20→ Set HasPlayerJoined Scoreboard to DefaultMaxHealth Gamerule |
| Scoreboard | PlayerMaxHealth | When player respawns: Run command as the event/target entity: /attribute @s minecraft:generic.max_health base set <PlayerMaxHealth Scoreboard> |
| Command | /set_max_health | Usage: /set_max_health <playername> <max_health>→ Sets PlayerMaxHealth Scoreboard to <max_health>→ Run command as the event/target entity: /attribute @s minecraft:generic.max_health base set <PlayerMaxHealth Scoreboard> |
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft version listed: 1.19.2
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Modrinth — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
Verified by MCModsHub
- Ships as PersistentHealthAttributes-v1.0.0-1.19.2-Fabric.jar — drop this file into the mods folder
- Download size: 22 KB
- Download link checked 27 Sept 2026 — working
These come from our own check of the pack file, not from the source page.