Compatibility
Minecraft: Java Edition
Platforms
Creators
Details
One Heart Challenge
About
A datapack that sets your max health to one heart and bans a few items like golden apples that give you extra golden hearts. (to make sure you only ever have 1 heart of course) This is a very fun challange to do with friends to add a bit lot more difficulty to the game.
Tips
- Try combining it with my other datapack crafting improved to get better crafting recipes! (I guess you won't be getting the enchanted golden apple recipe though!)
Installation
Installed just like any other datapack. A tutorial on how to do that can be found on the minecraft wiki here.
More Info
The items that are banned are all the items in the game that can give you the absorption effect (golden hearts):
-
Golden Apple
-
Enchanted Golden Apple
-
Totem of Undying
The datapack sets your max_health attribute to 2 health points to stop your other hearts from showing. It does this in a tick function. The purpose I don't just run this in a load function is so that it ensures that you will always only have 1 heart. To ban items it also uses the same tick function, by clearing the player of those items it makes sure that if the player gets those items that they will be instantly removed.
If you don't have any clue what the text above meant, then don't worry.


