Skip to content

Pantry API

Pantry API is the shared integration library for Pantry on Fabric and NeoForge.

FabricNeoForge
Loaders
FabricNeoForge
Downloads on Modrinth
324
Followers on Modrinth
0
version
1
Updated
July 19, 2026Jul 19
Published
in 2026
This is a library — other mods need it, and it adds nothing to the game by itselfRequired by 1 mods. Download it if another mod needs it.

At a glance

A library: other mods need it — required by 1 mods
Runs on Fabric and NeoForge
For Minecraft 26.2
Needed in the game and on the server
Latest version — 1.0.0-alpha.5 from July 19, 2026
License MIT — free
Where it's needed
In gamerequiredOn serverrequired

Needed both in the game and on the server

Game versions26.2

Pantry API

Pantry API is the shared integration library for Pantry on Fabric and NeoForge.

This is a library, not a standalone gameplay mod. Install it when Pantry or another mod lists it as a required dependency.

For Players

Install the Pantry API version that exactly matches your Pantry version. The same API jar works on both Fabric and NeoForge.

For Pantry 1.0.0-alpha.5, install Pantry API 1.0.0-alpha.5.

For Addon Developers

Pantry API provides supported integration points for:

  • Registering custom foods and ingredients
  • Reading freshness, food classification, and preservation state
  • Carrying ingredient quality into crafting and machine outputs
  • Settling food in custom storage
  • Adding storage-environment and decay providers

Processing and storage operations are server-authoritative. The API intentionally does not expose Pantry's internal item-data keys or unrestricted freshness mutation.

The alpha 5 API is experimental, but its package structure and read-only query model are intended to remain stable. Full guides and examples will move to the Pantry wiki.

Compatibility

  • Minecraft Java Edition 26.2
  • Fabric and NeoForge
  • Client and dedicated server
  • Java 25

FAQ

How to install Pantry API?

Install Fabric for your Minecraft version, download Pantry API for the same version and loader, put the file into the mods folder and launch the game with the loader profile.

Which Minecraft versions does Pantry API support?

Pantry API has builds for Minecraft 26.2.

Is Pantry API needed on the server?

Needed in the game and on the server

License and source
MIT Licensefree to use and share with credit to the author
Original — Modrinth↗Files unchanged, verified with SHA-512Is this your mod? For rights holders

The site uses cookies: the necessary ones for sign-in and the theme, plus the Yandex Metrica and LiveInternet visit counters — they show us how the site is used. We have no advertising cookies. More