

Datapack to change your health amount to whatever amount you desire it to be! Custom health or custom hearts, 2 HP is equal to 1 heart, but it will work even if you use hearts which aren't multiples of 2.
To alter the hp value you want players to have follow this steps:
go to data/customhp/functions/
open the .mcfunction file with notepad/virtual studio code/any other code editting software
change the value in "attribute @p[tag=chp] minecraft:generic.max_health base set 40" from "40" to your desired amount of HP in integral numbers!
load the datapack, and the players HP will change to that amount! This datapack will affect any players on your server.
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.16, 1.16.1, 1.16.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 — see the MC Java Mods guides for the full walkthrough.
- Downloads as lavs Custom HP Datapack.zip
- Download size: 140 KB
- Download link checked 6 Sept 2026 — working
These come from our own check of the pack file, not from the source page.