TerraFirmaCraft handles it quite well. There's various food groups (vegetable, fruit, protein, etc.), and if you don't eat enough from each of them your maximum health gets scaled down. Basically a bar for each that steadily decreases over time, and is increased when you eat something...