Meal API
Meal API is a library that lets modded food items fill a separate fullness bar, so eating adds more than the vanilla hunger and saturation values.
What it does
The library adds a fullness bar alongside the vanilla hunger and saturation bars. Items registered through the library give fullness instead of ordinary hunger points, and any fullness past the usual ceiling goes into an overflow store capped at 180 extra food points. Vanilla foods keep their usual effect, so mods that use the API can offer more filling food without other mods needing to support it.
Saturation keeps working as usual, but since the hunger bar is always full while fullness is filled, saturation gains do not feed the fullness bar directly. The fullness bar is depleted instead of hunger and saturation until it reaches zero. A meal food that does not completely fill the normal bars is eaten for a fullness value, which means the player can keep going without the usual limits. Players should expect the fullness bar to empty quickly if they heal fast.
Meal API is published for Fabric and Quilt. Fabric API is required, and the environment is client and server, so the server and every player need the mod. Files cover 1.16.4 – 1.20.1, with 0.3.2+1.20 for 1.20.1 as the latest file. The code is released under the MIT License and is open source.
Key features
Fullness bar
A separate bar stores fullness that foods restore, alongside the vanilla hunger and saturation bars.
Overflow storage
Surplus fullness past the regular ceiling is set aside in an overflow store, which holds the equivalent of up to 180 additional food points.
Vanilla food compatibility
Vanilla foods keep their usual hunger and saturation effects, so existing food works unchanged.
Meal foods
Meal foods that do not fill the normal bars instead restore a fullness value when eaten.
Compatibility
Latest build for each game version and loader.
1.20.x2 of 2 versions with builds
1.19.x3 of 3 versions with builds
1.18.x3 of 3 versions with builds
1.17.x2 of 2 versions with builds
1.16.x2 of 2 versions with builds
Only full game releases are shown. This mod publishes no snapshot builds.
Requirements
Dependencies declared by the latest file for each loader.
Required 1
Required by 2 mods
Use cases
Modded food packs
Food mods can register items that restore fullness, giving players a reason to eat in longer sessions.
Survival balance
Server owners can tune how quickly fullness depletes compared with hunger and saturation.
Who it’s for: Mod developers building food content for Fabric and Quilt, and players who want filling food from add-on mods.
Questions
Does Meal API need Fabric API?
Does Meal API have to be installed on the server?
Which game versions does Meal API support?
In the catalog
Meal API is one of 3,514 Library mods on ModsFinder, and one of 2,348 Library mods for Fabric. 34,764 mods support Minecraft 1.20.1.
More from FoundationGames
Similar mods
Official listing
- Modrinth page
- modrinth.com/mod/mealapi
- Owner
- FoundationGames
- Published
- 2020-12-14
- Updated on Modrinth
- 2023-06-30
- Facts verified
- 2026-10-15
