Download Quality Food — Minecraft Mods — MetaMods

Quality Food

Active

Downloads

1

Last update

2 months ago

Versions

1.18.2 — 1.21.1
Client and server
Forge
Neoforge
Food
Game mechanics

Quality Food

General Information

The Quality Food modification introduces a quality system for food and some nutrition-related materials (such as agricultural crops) through NBT data, without creating new items.

Product quality can:

  • Increase nutritional value and saturation
  • Enhance positive effects and weaken (or completely eliminate) negative effects from consuming food
  • Affect the result of crafting items applicable to quality (the minecraft:generic.luck attribute also increases the chance)

Commands and Usage

You can obtain an item with quality using the command: /give @s farmersdelight:roast_chicken_block{quality_food:{quality:2}}

The quality parameter takes values from 0 (NONE) to 3 (DIAMOND). Setting the value to NONE has no practical meaning as it doesn't affect item characteristics but makes it incompatible for stacking with regular items.

Special commands are also available:

  • /quality_food give
  • /quality_food apply
  • /quality_food remove

Effect Configuration

For each quality level, you can configure effects that will be applied to specific items:

Configuration example: effect_list = ["minecraft:apple;minecraft:regeneration;0.5;120;3;0.45"]

  • minecraft:apple - item to which the effect is applied (can be a tag, e.g. #minecraft:cat_food)
  • minecraft:regeneration - effect type
  • 0.5 - chance of the item receiving the effect (1 = 100%)
  • 120 - duration in ticks (20 ticks = 1 second)
  • 3 - effect amplifier (0 corresponds to first level)
  • 0.45 - probability of receiving the effect when consumed (1 = 100%)

Agriculture Configuration

Farmland settings allow defining a bonus (can be negative) depending on the type of soil on which the crop is grown:

Example: farmland_config = ["3;#minecraft:crops;farmersdelight:rich_soil_farmland;1.25"]

  • 3 - priority index (checked from lower to higher)
  • #minecraft:crops - crop block (can be a tag or specific block)
  • farmersdelight:rich_soil_farmland - soil block
  • 1.25 - chance multiplier (values below 1 decrease probability)

Crafting and Processing

Three types of configurations are available for crafting:

  • retain_quality_recipes - result preserves ingredient quality
  • no_quality_recipes - recipes don't receive quality
  • handle_compacting - automatic quality preservation during compacting/unpacking

Cooking quality items in furnaces and other devices accumulates a quality bonus that increases the chance of obtaining a quality result.

Compatibility

The mod is compatible with popular modifications:

  • Farmer's Delight - quality application during crafting, block state processing
  • Create - quality application during milling and mechanical mixing
  • Sophisticated Core - proper compacting handling
  • Quark, Harvest with ease, Right-Click-Harvest - proper quality determination
  • And many other mods related to agriculture and storage

Example

Project members
Cadentem

Cadentem

Developer

Created: 21 Feb 2024

ID: 6719