Home›Java›Mods›Food Spoiling
Food Spoiling
ModsJava

Food Spoiling

Java mod listed for Minecraft 1.20. Download on the author's site.

by TruJoe · on CurseForge

⬇ Download on CurseForge
Food Spoiling — screenshot 1Food Spoiling — screenshot 2Food Spoiling — screenshot 3Food Spoiling — screenshot 4Food Spoiling — screenshot 5

Food Spoiling

Requires  geckolib

This mod adds scripting for a food spoilage system in an intuitive and server-friendly way. Whenever a player picks up a food item or views a food item in a chest,  the food item will be assigned a number of days until it spoils. Once that many days have passed, the food item will turn into a rotten version of the item which will give the player effects similar to eating rotten flesh. Spoils times vary for different types of food. Raw meat will spoil the quickest, and unprocessed grains like wheat will take the longest to spoil.

To slow down the spoiling process, players can add salt to their meat to turn it into a salted version that takes much longer to spoil. Salt can be acquired by smelting buckets of water in a furnace. In addition to salting, this mod also adds an icebox which can be fueled with ice to slow down the time it takes for  food to spoil. 

New foods can be added to the spoiling system by editing tag lists. Simply add a food to the "spoilable" tag with a datapack to make it be able to spoil. It can then be added to another tag list to dictate spoil time and what item it decays into. Currently the mod does not have any built in support for other food mods, but I plan to add it as a feature soon.  It is still very simple to do as a data pack for those interested.

Planned Features:

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.

Food Spoiling is a free Minecraft Java mod. Compatible with Minecraft 1.20.1. Downloaded 5,715 times (via CurseForge). Download it and open it directly in the game.

Explore more