This datapack was Created By MrLeon07.

Each death removes one heart.
Lost hearts can only be restored by eating Enchanted Golden Apples.
Each apple restores one heart.
If all hearts are lost, the player is forced into Spectator Mode permanently.

Players can only return by using the datapack’s special command(Operator permission required).

Commands:
For revive yourself: '/function singleheartpack:reviveplayer'
	-> This command will kill you again but also reset your deaths and change your gamemode. You can continue to play.
For revive another player: /execute as <player_name> run function singleheartpack:reviveplayer
	-> Same effect as self-revive, but for another player. You must replace player nickname to <player_name> argument. 
	-> Example usage: '/execute as MrLeon07 run function singleheartpack:reviveplayer'

Installation:
1- Move Datapack file to your world's datapack folder
2- Join your world (if you didnt yet)
3- Check datapack with using '/datapack list' command.
4- If datapack is activated you will find datapack on activated list, if not; use '/datapack enable <filename>' commad for activate
5- Enjoy your game :)


Uninstallation:
1- Use '/datapack disable <filename>' command for disable datapack

If you want to support me don't forget to visit patreon.com/MrLeon07




