Перейти к содержимому
Mineforgian

Cook your food

This mod makes the food poisoning a serious deal. Eating any kind of raw food will cause poisoning with varying effects.

154K загрузок50 подписчиковLGPL-3.0-onlyfabricforgeneoforgequilt

Обновлён 19 июня 2026 г. · опубликован 9 августа 2022 г.

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.

Версии

ВерсияКаналИграЗагрузчикиДатаСкачать
1.14.1Релиз26.2fabric, quilt19 июня 2026 г..jar (49 КБ)
1.12.0Релиз26.2neoforge19 июня 2026 г..jar (34 КБ)
1.12.0Релиз26.1, 26.1.1, 26.1.2neoforge7 апреля 2026 г..jar (34 КБ)
1.12.0Релиз1.21.11neoforge7 апреля 2026 г..jar (28 КБ)
1.14.1Релиз26.1, 26.1.1, 26.1.2fabric, quilt3 апреля 2026 г..jar (49 КБ)
1.14.1Релиз1.21.11fabric3 апреля 2026 г..jar (49 КБ)
1.14Релиз1.21.10fabric10 октября 2025 г..jar (50 КБ)
1.12.0Релиз1.21.8, 1.21.10neoforge10 октября 2025 г..jar (28 КБ)
1.14Релиз1.21.8fabric2 сентября 2025 г..jar (50 КБ)
1.12Релиз1.21.3fabric, quilt7 ноября 2024 г..jar (34 КБ)
1.12Релиз1.21, 1.21.1fabric, quilt22 июня 2024 г..jar (35 КБ)
1.12Релиз1.21, 1.21.1neoforge15 июня 2024 г..jar (24 КБ)
1.11.1Релиз1.20.6neoforge17 мая 2024 г..jar (26 КБ)
mc1.20.4--1.10Релиз1.20.4quilt1 апреля 2024 г..jar (32 КБ)
1.11Релиз1.20.4neoforge15 декабря 2023 г..jar (26 КБ)

Показаны последние 15 из 26 версий. Все версии — на Modrinth.

Ченджлог

1.12.0Релиз26.1, 26.1.1, 26.1.2 · 7 апреля 2026 г.

just a port

1.12.0Релиз1.21.11 · 7 апреля 2026 г.

just a port

1.14.1Релиз26.1, 26.1.1, 26.1.2 · 3 апреля 2026 г.

just a port

1.14.1Релиз1.21.11 · 3 апреля 2026 г.

just a port

1.14Релиз1.21.10 · 10 октября 2025 г.

jsut a port to 1.21.10

1.12.0Релиз1.21.8, 1.21.10 · 10 октября 2025 г.

just ported to 1.21.8. tried on 1.21.10, looks like it works there too.

1.14Релиз1.21.8 · 2 сентября 2025 г.

no changes in functionality

1.12Релиз1.21.3 · 7 ноября 2024 г.

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.

Полная история изменений — на Modrinth.

Комментарии

Загружаем…