Additional Saturation
This modification solves a common saturation problem in Minecraft by adding an overflow hunger system. Now you won't have to waste valuable food resources!
Main Features
The mod extends the standard saturation mechanics, allowing your character to accumulate more hunger points. This is especially useful when you're at 9 hunger points and eat a full steak, which in normal circumstances would only restore 1 point while 3/4 of the nutritional value would be lost forever. Now all the nutritional value of food is used efficiently. The system works with all standard food items except cake.
Compatibility and Requirements
This is a server-side mod, which means it needs to be installed on the server for proper functioning. Currently, the mod is developed for Minecraft version 1.20.1 and uses the Fabric loader. It requires Fabric API and Meal API to work. Version updates are planned only after dependencies receive updates.
For Developers
If you want to make your mod or datapack compatible with Additional Saturation, you need to add a special configuration file. For mods, the path should look like this: YOUR_MOD_FOLDER/src/main/resources/data/additional_saturation/tags/items/detected_edible_food_items.json
For datapacks: YOUR_DATAPACK_FOLDER/data/additional_saturation/tags/items/detected_edible_food_items.json
IMPORTANT: The folder named additional_saturation must remain exactly as is - this is not a typo. Do not replace it with your own mod identifier!
Content of detected_edible_food_items.json file:
{
"replace": false,
"values": [
"your-mod-id:your_item",
"your-mod-id:your_other_item"
]
}
Replace "your-mod-id:your_item" with actual identifiers of food items from your mod.