Skip to content

Configuration

SameAccord edited this page Oct 18, 2026 · 2 revisions

Food depreciation (Diminishing Returns and Food Spoilage) can be controlled two ways.

Game rules (per world)

Change these with /gamerule in a world (needs cheats or operator), or under Player in the Edit Game Rules screen when creating a world.

Game rule Default What it does
plateful:diminishing_returns true Repeated foods restore less
plateful:repeat_penalty_percent 25 How much less a food restores per recent repeat (0-100)
plateful:food_spoilage true Carried food goes stale and rots
plateful:food_spoil_days 10 In-game days until food rots (1-1000)

Examples:

/gamerule plateful:food_spoilage false
/gamerule plateful:repeat_penalty_percent 10
/gamerule plateful:food_spoil_days 30

Config file (all new worlds)

config/plateful.json is created the first time the game starts. It sets the default value of each game rule above for new worlds, plus a few settings that apply everywhere. Restart the game after editing it.

{
  "diminishing_returns": true,
  "repeat_penalty_percent": 25,
  "minimum_percent": 25,
  "meals_remembered": 6,
  "food_spoilage": true,
  "food_spoil_days": 10,
  "vanilla_food_spoils": false
}
Setting Default What it does
diminishing_returns true Default for the plateful:diminishing_returns game rule
repeat_penalty_percent 25 Default for plateful:repeat_penalty_percent
minimum_percent 25 The lowest a repeated food can drop to
meals_remembered 6 How many recent meals count towards the repeat penalty
food_spoilage true Default for the plateful:food_spoilage game rule
food_spoil_days 10 Default for plateful:food_spoil_days
vanilla_food_spoils false Whether vanilla food spoils too

Lines starting with _ in the file are just explanations and can be ignored. Changing the file doesn't change worlds that already exist; use /gamerule for those.

Clone this wiki locally