All Mods Resource Packs Data Packs Shaders Modpacks Plugins
Cook your food

Cook your food

by MoonFather • Downloads: 0 • Followers: 0
Description
Gallery
Changelog
Versions

Introduction

This tiny little mod adds a tiny little bit of realism by applying negative effects to players eating raw food.

Mojang had a similar idea briefly but then it somehow turned into a pale joke - raw chicken inflicts a bit of hunger, raw pork for some reason gives you nothing. Well not anymore. With this mod, 60 seconds of slowness will remind people to cook that rabbit next time. That's not going to kill anyone but will make eating raw food not worth it. On the other hand, eating zombie flesh is a really bad idea and will probably make your situation much worse (unless you get really lucky and resist effects).


Details

This mod divides food into four groups:

  1. fine to eat - self explanatory.
  2. mild effects - representative: raw potato - Vegetables that should be cooked/baked and other stuff that shouldn't be eaten raw but aren't as bad as below categories. Expect nuisance effects like damage reduction (weakness). There's a good chance you'd resist effects completely.
  3. medium effects - representative: raw meat - This is a default category and will automatically catch all raw food items that are not put into other three categories manually. Expect effects like movement slowdown, mining slowdown, and rarely an actual poison effect.
  4. severe effects - representative: rotten flesh - Things that even starving people shouldn't touch. Expect effects like poison, blindness, nausea...

Effect you get is chosen randomly from predefined sets, and the chosen set is remembered for several minutes, so eating the same thing will not apply a new set of effects; instead durations of original effects will get increased. Don't worry about technicalities, just grill that porkchop.


Note for modpack makers and fellow modders

In version 1.00, fellow modders needed to use InterModComms to change the food category of food items and modpack makers had no option.

As of 1.10, both groups can and should use item tags.

Example: you add Food1 and Food2, both edible with Food1 cookable into Food2 (at campfire and similar blocks).

The Food1 item will automatically fall into "medium effects" category. If you're okay with that, you don't need to do anything.

To move your new item into other categories, use tags (json files). If Food1 is ok to eat raw, add it to ok_to_eat_raw.json under cookyourfood namespace. there are also raw_food_severe.json, raw_food_light.json and raw_food_normal.json.

You rarely want to add anything to "normal category". the mod will auto-detect cookable and edible items and put all of those into that category. one example where you'd use that one is tropical fish - edible but not cookable.

Categories are evaluated in order listed above. so if mod 1 puts something into "normal" and mod 2 puts that same food into "severe" category, we will apply severe effects. Order of mods loading doesn't matter.


Note for modpack makers

As of 1.10, by popular request, effects are no longer hard-coded. There is a json file in config directory where you can edit what effects can hit raw food aficionados.

Here's documentation on the file structure: link.

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
26.3
Neoforge
1d ago 1
26.3
Neoforge
1d ago 1
26.3
Fabric Quilt
1d ago 1
1.21.1
Fabric Quilt
1d ago 1
26.2
Neoforge
1d ago 1
26.1.x
Neoforge
1d ago 1
26.1.x
Fabric
1d ago 1
26.2
Fabric Quilt
1d ago 1
1.21.1
Neoforge
1d ago 1
1.21.1
Fabric Quilt
1d ago 1
1.21.1
Neoforge
1d ago 1
26.2
Fabric Quilt
1d ago 1
26.2
Neoforge
1d ago 1
26.1.x
Neoforge
1d ago 1
1.21.11
Neoforge
1d ago 1
26.1.x
Fabric Quilt
1d ago 1
1.21.11
Fabric
1d ago 1
1.21.10
Fabric
1d ago 1
1.21.x
Neoforge
1d ago 1
1.21.8
Fabric
1d ago 1
1.21.3
Fabric Quilt
1d ago 1
1.21.x
Fabric Quilt
1d ago 1
1.21.x
Neoforge
1d ago 1
1.20.6
Neoforge
1d ago 1
1.20.4
Quilt
1d ago 1
1.20.4
Neoforge
1d ago 1
1.20.1
Quilt
1d ago 1
1.20.1
Forge Neoforge
1d ago 1
1.19.2
Forge
1d ago 1
1.18.2
Forge
1d ago 1
1.20.1
Forge Neoforge
1d ago 1
1.19.2
Quilt
1d ago 1
1.20.1
Forge
1d ago 1
1.19.3
Forge
1d ago 1
1.19.2
Forge
1d ago 1
1.18.2
Forge
1d ago 1
1.16.5
Forge
1d ago 1
[1.12.3] 26.3-nf by MoonFather on Oct 18, 2026
Download
things from fabric edition that i forgot to port
[1.14.2] 26.3-fabric by MoonFather on Oct 18, 2026
Download
unchanged from 26.2. seems to just work.
[1.12.3] 1.21-fabric by MoonFather on Oct 18, 2026
Download
added german translation
[1.12.3] 26.2-nf by MoonFather on Oct 18, 2026
Download
added german translation - thank you zelleb
[1.12.3] 26.1-nf by MoonFather on Oct 18, 2026
Download
added german translation - thank you zelleb
[1.14.2] 26.1-fabric by MoonFather on Oct 18, 2026
Download
added german translation - thank you zelleb
[1.14.2] 26.2-fabric by MoonFather on Oct 18, 2026
Download
added german translation - thank you zelleb!
[1.12.2] 1.21-nf by MoonFather on Oct 18, 2026
Download
  • added german translation
  • added tags for some food
[1.12.1] 1.21-fabric by MoonFather on Oct 18, 2026
Download
added bread and other vanilla food to tag that makes them always ok to eat.

finally compiled to 1.21.1 instead of 1.21
[1.12.1] 1.21-nf by MoonFather on Oct 18, 2026
Download
added bread and other vanilla food to tag that makes them always ok to eat.

finally compiled to 1.21.1 instead of 1.21
[1.12.0] 26.1-nf by MoonFather on Oct 18, 2026
Download
just a port
[1.12.0] 1.21.11-nf by MoonFather on Oct 18, 2026
Download
just a port
[1.14.1] 26.1-fabric by MoonFather on Oct 18, 2026
Download
just a port
[1.14.1] 1.21.11-fabric by MoonFather on Oct 18, 2026
Download
just a port
[1.14] 1.21.10-fabric by MoonFather on Oct 18, 2026
Download
jsut a port to 1.21.10
[1.12.0] 1.21.10-nf by MoonFather on Oct 18, 2026
Download
just ported to 1.21.8. tried on 1.21.10, looks like it works there too.
[1.14] 1.21.8-fabric by MoonFather on Oct 18, 2026
Download
no changes in functionality
[1.12] 1.21.3-fabric by MoonFather on Oct 18, 2026
Download
reworked recipe retrieval a little, thanks to mojang's half-finished refactor.

added some food to ok-to-eat-raw; just in case some folk decide to grill melons.
[1.12] 1.21-nf by MoonFather on Oct 18, 2026
Download
  • ported to 1.21
  • deleted IMC functionality. now only way for other mods to pick a food group for a food item is through tags.
[1.11.1] 1.20.6-nf by MoonFather on Oct 18, 2026
Download
no functional changes. just adapted to changes between 1.20.4 and 1.20.6.
[mc1.20.4--1.10] 1.20.4-quilt by MoonFather on Oct 18, 2026
Download
no functional changes, just adapting to mc changes (using recipe holders instead of recipes)
[mc1.20--1.11] 1.20.1 by MoonFather on Oct 18, 2026
Download
fixed a bug where client config was ignored. not like anyone noticed we have three nice config files.
[mc1.18--1.10] 1.18 by MoonFather on Oct 18, 2026
Download
effects configurable through json file now.

food categories can be changed through tags. IMC deprecated but still in there.
[mc1.20--1.10] 1.20.1 by MoonFather on Oct 18, 2026
Download
effects no longer hardcoded - find a json in config dir.
added item tags for food categories. IMC is deprecated.
quilt port.
[mc-1.19--1.00a] 1.19 by MoonFather on Oct 18, 2026
Download
no change, just built for 1.19.3. maybe it wasn't even necessary.
Cook your food Icon
Download Cook your food
Select game version
Select platform