|Latest Minecraft version||1.12.2|
Hunger Persistence is a small mod created by squeek502. When the player dies and respawns with this mod installed, their hunger and saturation will be set to the amounts they had prior to their death.
It allows for configuration of the minimum hunger/saturation values to respawn with– the player will not spawn with hunger/saturation below these values– and the maximum saturation to respawn with– the player will not spawn with higher saturation than this value.
If the minimum hunger value is set to 0, players who die from starvation will die already starving and likely die from starvation again.