ModsFinder

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.

FabricNeoForgeClient and serverMIT License26.2

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

  1. Custom food registration

    Other mods can register new foods and ingredients that the Pantry system recognizes.

  2. Freshness and preservation reading

    Freshness, food classification and preservation state can be read from items through the API.

  3. Ingredient quality in outputs

    Ingredient quality carries over into the results of crafting machines.

  4. Custom storage settling

    Food can be settled into custom storage, and storage-environment decay providers can be added.

  5. 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.

No stable releases
Every published file is a beta or alpha build.
26.21.0.0-alpha.51.0.0-alpha.5
ReleaseBetaAlphaNot available

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?

Yes. Pantry API must match the Pantry version exactly, so the two files should share the same alpha release number.

Which loaders does Pantry API support?

The library is published for Fabric and NeoForge, and the same jar works on both loaders.

Is the API stable for developers?

The current API uses an experimental package structure with a read-only query model that the author expects to keep stable. Detailed guides and examples are kept on the Pantry wiki.

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

All projects

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.
Lumi-Lynx, on the Modrinth page

Official listing

Owner
Lumi-Lynx
Published
2026-07-17
Updated on Modrinth
2026-07-19
Facts verified
2026-10-15

Tags