Meal API

Meal API

136k Downloads

Meal API

A Fabric Modding API for filling foods.

Requires Fabric API.

The Fullness Bar.

Features:

A new food bar!
-Not used by vanilla food, meaning this mod has no effect without other mods that make use of it.

-Usable by modded food items, which can add a "fullness" restoration amount to their food items.

-The fullness bar stores up to the equivalent of 180 extra food points, in a sort of "overflow" way.

-Saturation and hunger will always be completely full when the fullness bar is filled more than 0.

-The fullness bar gets depleted instead of hunger or saturation, unless at 0.

-If a "meal" food doesn't completely fill the normal hunger/saturation bar when eaten, some of its fullness value will go to making up for that.

-Since saturation is always full when your fullness bar is filled, you can heal very fast while full, but at the cost of the fullness bar being depleted very quickly.

Frequent Questions:

Will it be ported to Forge/<old MC version>!?!??

No

For Mod Developers:

Documentation/Guide is on GitHub!

Click on the mod's Source, then see the README