Back to mods
Rotting Food project artwork

CurseForge · Minecraft mod

Rotting Food

A fully customizable mod that adds a rotting mechanic to all foods in Minecraft. Compatible with your favorite food mods!

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

Quick answer

Which Rotting Food release should I use?

Updated 9 months ago
Latest stable file 0.5.1+1.21.9
Game version 1.21.9, 1.21.10
Loader Fabric

Rotting Food 0.5.1+1.21.9 targets 1.21.9, 1.21.10 with Fabric. The project page does not say whether this file belongs on the client, dedicated server, or both. All 3 required mods have matching files.

Where it goes

Is Rotting Food 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 Rotting Food 0.5.1+1.21.9 need?

0.5.1+1.21.9. Change the file and its required mods may change too.

All 3 required mods have matching files

Install oωo (owo-lib), oωo (owo-lib), Fabric API first. We found matching files for this game-version and loader setup. 1 comes through another mod in the chain.

2 listed on this file 1 pulled in by one of those mods
oωo (owo-lib) Needed by Rotting Food 0.5.1+1.21.9
required
Matching file found Matched file: [1.21.9+] oωo - 0.12.24
oωo (owo-lib) Needed by Rotting Food 0.5.1+1.21.9
required
Matching file found Matched file: 0.12.24+1.21.9
Fabric API Needed by oωo (owo-lib)
pulled in
Matching file found Matched file: [1.21.9] Fabric API 0.134.1+1.21.9

1 extra mod was pulled in by another dependency. Indented rows show who needs each one. We only count dependency files that match this setup. A file for another loader does not fill the gap.

Before you install it

Add Rotting Food without breaking your instance.

Built for Rotting Food 0.5.1+1.21.9. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 0.5.1+1.21.9. It targets 1.21.9, 1.21.10 with Fabric; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    Install oωo (owo-lib), oωo (owo-lib), Fabric API first. We found matching files for this game-version and loader setup. 1 comes through another mod in the chain.

  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 0.5.1+1.21.9. It opens that exact file at the source.

About this project

What does Rotting Food add?

This fully customizable mod adds a rotting mechanic to all foods in the game, even to ones added by other mods. No more chest filled with food. No more food farms!

A lot of Baked Potatoes with a "Rotten" Tooltip

Configuration Guide

This mod was made to be extremely customizable, which means you can freely change what stages the food will go through as it rots, as well as which food will rot and which won't. This is the default config:

{
"modDataComponentsEnabled": true,
"showInTooltip": true,
"randomiseFoodState": false,
"preventFoodFarms": true,
"maxRandomState": 2,
"exclude": [
    "minecraft:golden_apple",
    "minecraft:enchanted_golden_apple",
    "minecraft:golden_carrot"
],
"foodStates": [
    {
    "tooltip": "Fresh",
    "color": 5635925,
    "duration": 1,
    "nurtition": "x",
    "saturation": "x",
    "eatSeconds": "x",
    "effects": []
    },
    {
    "tooltip": "Edible",
    "color": 16777045,
    "duration": 3,
    "nurtition": "x/2",
    "saturation": "x/2",
    "eatSeconds": "x",
    "effects": []
    },
    {
    "tooltip": "Rotten",
    "color": 16733525,
    "duration": -1,
    "nurtition": "0",
    "saturation": "0",
    "eatSeconds": "x*2",
    "effects": [
        {
        "probability": 1.0,
        "id": "minecraft:nausea",
        "duration": 200,
        "amplifier": 1,
        "ambient": true,
        "showParticles": false,
        "showIcon": false
        }
    ]
    }
]
}

Here are a things you should know before tampering with the config:

  • All Food Stages must be in order. The highest one comes first.
  • Values for nutrition, saturation, eatSeconds are essentially equations, where x is the original value of the given item. They can be anything, ranging from "(x / 2) + 1" to a plain number like "2". Mark that x value is not affected by the previous stage as it is the original value.
  • Duration is measured in world days(Which means even if you do /time set [insert some crazy number] all your food won't immediately rot)
  • Color is an rgb integer.
  • Effects allow you to add your own effects to a certain stage(The food will still keep it's original effects).
  • When "modDataComponentsEnabled" is set to false the mod will actively remove the rotting functionality from every item it can tick. Essentialy all the food in players inventory will reset and become normal food that doesn't rot.
  • randomiseFoodState randomises the food items state when you get it, within the range of maxRandomState. maxRandomState of 2 means you would get either 1 - Fresh or 2 - Edible.

Why was this mod made?

Truthfully i just wanted to make my friends to suffer. And i thought maybe someone might have a simillar desire or might add this to his hardcore world…

As always, any mistakes are my own.

Static Badge Static Badge Static Badge

Project description from CurseForge.

Pick your setup

Rotting Food by Minecraft version and loader

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

11 available setups

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

Recent files

Rotting Food versions and loaders

11 of 11 releases match

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