Quality Food

This mod adds quality to food and certain food-related material (e.g. crops)

Редакция NLZONE · 2 мин чтения · 1 просмотр
Quality Food
Скачать Quality Food1.18.2 – 26.1.2 · с официальной страницы: modrinth.com
Перейти к загрузке

Что это

This mod adds quality to food and certain food-related material (e.g. crops)

  • Тип: мод
  • Загрузчик: forge, neoforge
  • Версии Minecraft: 1.18.2 – 26.1.2
  • Скачиваний на Modrinth: 291 486

Подробно

General This mod adds quality to food and certain food-related material (e.g. crops) through NBT data (meaning no new items)

1.21 documentation is currently located here

Quality can: - Increase nutrition and saturation - Improve positive effects and diminish (or outright remove) negative effects gained from eating food - Impact the result of crafted (quality applicable) items (the minecraft:generic.luck attribute increases the chance as well)

Animals Can be fed with quality food (that they would normally eat), improving their potential

Said potential will increase the chances for quality loot (and also the outcome of milking cows or chickens laying egggs)

Baby animals will gain (using default values) ~ 60% to 90% of the parents' potential

You can give yourself a quality item like this: /give @s farmersdelight:roastchickenblock{qualityfood:{quality:2}} - quality is a value between 0 (NONE) and 3 (DIAMOND) - Setting NONE does not make sense since it will not affect anything and just makes the item unstackable with non-quality items

You can also use the following commands - /qualityfood give - /qualityfood apply - /qualityfood remove

Configuration There is a configuration per quality - aside from some normal things you can also specify which item should gain which effects - Example: effectlist = ["minecraft:apple;minecraft:regeneration;0.5;120;3;0.45"] - minecraft:apple is the item this effect should apply to (can also be a tag, e.g. #minecraft:catfood) - minecraft:regeneration is the effect - 0.5 is the chance for a food item to gain this effect (1 means 100%) - 120 is the duration in ticks (20 ticks means 1 second) - 3 is the amplifier (0 results in an effect level of 1 (i.e. no level shown)) - 0.45 is the probability to gain this effect when eating the item (1 means 100%)

The tag of an item with effects applied to it looks like this: json { qualityfood: { effects: [ { "forge:id": "minecraft:regeneration", chance: 0.45d, Ambient: 0b, CurativeItems: [ { id: "minecraft:milkbucket", Count: 1b } ], ShowIcon: 1b, ShowParticles: 1b, Duration: 120, Id: 10, Amplifier: 3b } ], quality: 1 } }

I don't recommend manually creating such items - the qualityfood commands will apply the configured effects

There is a farmland configuration which allows you to define a bonus (can also be negative, i.e. 0.5) based on the farm block the crop is planted on - Example: farmlandconfig =

Как установить

Скачайте файл на официальной странице ниже и положите его в папку mods (для модов) или plugins (для плагинов) вашего сервера или клиента. Для модов нужен совместимый загрузчик. Версия должна совпадать с версией Minecraft.

Текст подготовлен автоматически из описания на Modrinth и ждёт проверки редакцией.

Редакция NLZONE

Пишем о серверах, модах и играх, в которые играем сами. Нашли ошибку — напишите нам, исправим.

Комментарии 0

Комментарии к этому материалу отключены.

Читайте также