The code has been optimized.
Multiplayer compatibility has been added.
The maximum HP regeneration system has been changed – now it occurs every 20 minutes, independent of Minecraft's in-game time.
This datapack reduces the maximum HP upon death, gradually restoring it over time.