Compatibility
Minecraft: Java Edition
Platforms
Supported environments
Tags
Creators
Details
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


