HomeJavaModsRotting Food
Rotting Food
ModsJava

Rotting Food

by Wayzle · on Modrinth

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

Which Minecraft do you have?

Every version of the game needs its own build. Pick yours, then download — the wrong build installs fine and then does nothing in the game. This mod is built for Fabric only.

⬇ Download for 1.21.9–1.21.10⬇ Download for 1.21.5–1.21.8⬇ Download for 1.21.2–1.21.4⬇ Download for 1.21–1.21.1
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.
Rotting Food — screenshot 1Rotting Food — screenshot 2Rotting Food — screenshot 3

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:

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

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more