Pantry API
by Lumi-Lynx
Pantry API is a shared integration library that lets other mods register custom foods, ingredients and storage behavior with the Pantry system.
What it does
Pantry API provides the supported integration points for the Pantry mod. Developers can register custom foods and ingredients, read freshness, food classification and preservation state, carry ingredient quality through crafting machine outputs, and settle food into custom storage. Storage-environment decay providers can also be added, so spoilage can respond to the surroundings a food sits in.
Installation is straightforward on both supported loaders. The same API jar works on Fabric and NeoForge, and its version has to line up with the one Pantry uses. Pantry is required by one other catalog mod, and the library is aimed at developers who want to extend Pantry rather than at players directly.
Servers that run it need every player to install it too. Builds exist for Minecraft Java Edition 26.2 only, with the latest alpha file on both Fabric and NeoForge, published on 2026-07-19. The code is released under the MIT License and is not open source.
Key features
Custom food registration
Other mods can register new foods and ingredients that the Pantry system recognizes.
Freshness and preservation reading
Freshness, food classification and preservation state can be read from items through the API.
Ingredient quality in outputs
Ingredient quality carries over into the results of crafting machines.
Custom storage settling
Food can be settled into custom storage, and storage-environment decay providers can be added.
Server-authoritative storage
Storage operations are processed on the server, so the server decides the outcome of each operation.
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Required by 1 mod
Use cases
Extending Pantry
A developer adds a food type or storage container that Pantry tracks for spoilage.
Custom decay behavior
A mod supplies a storage-environment decay provider that changes how quickly food spoils in a given place.
Who it’s for: Mod developers building add-ons for Pantry, and server owners who run Pantry together with those add-ons. Players who only use Pantry do not need to work with this library directly.
Questions
Does Pantry API need to match the Pantry version?
Which loaders does Pantry API support?
Is the API stable for developers?
In the catalog
Pantry API is one of 3,514 Library mods on ModsFinder, and one of 2,348 Library mods for Fabric. 13,894 mods support Minecraft 26.2.
More from Lumi-Lynx
Similar mods
What the author says
Pantry API is the shared integration library for Pantry on Fabric and NeoForge. Install the Pantry API version that exactly matches your Pantry version. The same API jar works on both Fabric and NeoForge.
Official listing
- Modrinth page
- modrinth.com/mod/pantry-api
- Owner
- Lumi-Lynx
- Published
- 2026-07-17
- Updated on Modrinth
- 2026-07-19
- Facts verified
- 2026-10-15
