Healthy Food
This modification thoroughly overhauls the standard food system in Minecraft. Food no longer refills the hunger bar or provides saturation effects. Instead, each food item now directly restores the character's health.
Additionally, the modification introduces a satiety system: every time you eat, this indicator increases, and when you reach the maximum value, further food consumption becomes impossible. The satiety level gradually decreases over time, creating natural intervals between increases in satiety status.
By default, the maximum satiety value is 3 and is controlled by the character attribute "healthyfood:generic.maximum_fullness". Typically, each eaten portion of food adds +1 to the satiety scale, although server settings allow configuring exceptions for specific types of food items.
Regarding health restoration: it's calculated as half the saturation value the food used to provide, but amounts to no less than 1 health point (half a heart). This functionality ensures that food items from third-party additions work correctly without additional setup.