Back to mods
Food API project artwork

CurseForge · Minecraft mod

Food API

A flexible food system API for NeoForge. Adds configurable hunger capacity and drain speed via attributes, dynamic food bar rendering with multi-row support, and a provider-based icon replacement system for seamless mod integration.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Food API release should I use?

Updated 2 days ago
Latest stable file food_api-fabric-1.21.1-1.2.0.jar
Game version 1.21.8, 1.21.5, 1.21.4
Loader Fabric

Food API food_api-fabric-1.21.1-1.2.0.jar targets 1.21.8, 1.21.5, 1.21.4 with Fabric. The project page does not say whether this file belongs on the client, dedicated server, or both. All 1 required mods have matching files.

Where it goes

Is Food API required on the client, server, or both?

The project page does not say whether this file belongs on the client, dedicated server, or both.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release Fabric
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source does not explicitly classify this release as client-only or server-only.

What else does Food API food_api-fabric-1.21.1-1.2.0.jar need?

food_api-fabric-1.21.1-1.2.0.jar. Change the file and its required mods may change too.

All 1 required mods have matching files

Install Fabric API first. We found matching files for this game-version and loader setup.

Fabric API Needed by Food API food_api-fabric-1.21.1-1.2.0.jar
required
Matching file found Matched file: [1.21.1] Fabric API 0.116.18+1.21.1

We only count dependency files that match this setup. A file for another loader does not fill the gap.

Before you install it

Add Food API without breaking your instance.

Built for Food API food_api-fabric-1.21.1-1.2.0.jar. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use food_api-fabric-1.21.1-1.2.0.jar. It targets 1.21.8, 1.21.5, 1.21.4 with Fabric; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    Install Fabric API first. We found matching files for this game-version and loader setup.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside food_api-fabric-1.21.1-1.2.0.jar. It opens that exact file at the source.

About this project

What does Food API add?

Vanilla hunger is hardcoded: one row and a fixed drain. Food API turns hunger capacity and drain speed into ordinary player attributes, so other mods, commands and datapacks can change them.

✨ What it does

  • Up to 2 hunger rows. food_api:max_hunger goes from 1 to 40.
  • Custom drain speed. food_api:hunger_rate from 0× to 10×.
  • Swappable food icons. Per player, per row, per slot.
  • Every loader. Forge, NeoForge and Fabric, from 1.20.1 to 26.3.
  • Works with Overflowing Bars and AppleSkin.

With Overflowing Bars · Vanilla

🔧 For developers

Attributes, the icon provider API and code examples are in the developer guide on GitHub →

Project description from CurseForge.

Pick your setup

Food API by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

26 available setups

Showing the newest 12 of 20 game versions. Older files are in the list below.

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Food API versions and loaders

13 of 13 releases match

Looking for an older file? The official CurseForge project page is in Resources.