You Die You Lose a Heart [Fabric/Forge]
This mod implements a unique punishment system for death in Minecraft. Each character death results in the loss of one health heart. When all hearts are lost, the player automatically switches to spectator mode.
This mechanic resembles hardcore mode but with an important difference - it's more forgiving. You have the ability to restore lost hearts by consuming Enchanted Golden Apples. This gives value to an item that was previously rarely used outside of PvP battles.

The mod provides flexible settings through game rules:
/gamerule maxHearts- limits the maximum number of hearts (default 20)/gamerule canRestoreHearts true/false- allows or prohibits heart restoration (default allowed)

This system adds a new level of difficulty and strategy to the game, forcing players to approach dangerous situations more cautiously and value their virtual life.