Life Steal Mod
This modification was created inspired by the famous Life Steal SMP, but is not an exact copy of this concept.
The mod offers a unique heart mechanics system. When a player dies, they lose one heart from their health pool. By using a special heart item, they can regain one heart.
In world settings, there is an available gamerule that allows changing the maximum heart count, which defaults to 40 hearts (two full rows of hearts on the display).
The system includes two convenient commands. The first is available to all players and allows them to take away hearts from their pool, converting them into heart items. The second is intended for administrators and serves to set the maximum number of hearts for other participants.
The resurrection mechanics deserve special attention. When placing a revival block, one unit is added to a special variable called "revives". When this variable equals one or more, a third command "/revive" becomes available, allowing to revive other players. To activate this command, it is necessary that the player using it is alive and has one or more revival attempts.
This modification can be integrated into mod packs with proper credit.