LIMITED HEARTS
What is this?
With this data pack you lose a heart upon death. You will lose a heart every time you die until you only have a single heart left. Unlike similiar mods/data packs you cannot completely lose all your hearts. But the effect is also reversible, you can get your max health up to 20 hearts!
Getting Hearts
The only way of getting more hearts is by eating enchanted golden apples. So make sure not to lose those precious hearts!
Installation
Move the datapack to your world/datapacks folder. Rest is magic automatic.
Uninstallation
Execute the command /function limited_hearts:uninstall and remove the data pack from your world/datapacks folder.
Commands
There are only 2 commands included. First one resets the hearts of the player who executed the command and the second uninstalls the data pack. The player must be an OP or have cheats enabled to execute commands.
/function limited_hearts:reset_player
/function limited_hearts:uninstall