The Meaning of Life, the Universe, and Everything.
Stats Keeper is a mod which allows you modify your stats or save them on death like hunger, saturation and much more.
The mod covers all the vanilla stats and thirst from ToughAsNails. You can also configure your own health. Max health and even reduction of health on each death for those who want a challenge. You can even apply an effect so you're not able to eat when you respawn.
Currently I don't have any more ideas on what to add, so if you have any please let me know!
Stats Keeper has started from an idea I got from one modpack maker, he wanted something simple like saving hunger on death. That's where it all started, now the mod has 500k+ downloads and a lot more features.