HomeJavaModsQuality Food
Quality Food
ModsJava

Quality Food

by Cadentem · on CurseForge

Which build do you need?

This mod ships a separate file for every mod loader and every version of the game. Pick both, then download — the wrong build installs fine and then does nothing in the game.

Mod loader

Minecraft version

⬇ Download for 1.21–1.21.1 · NeoForge⬇ Download for 1.20–1.20.1 · NeoForge⬇ Download for 1.20–1.20.1 · Forge⬇ Download for 1.19.2 · Forge⬇ Download for 1.18.2 · Forge
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.

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:

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:roast_chicken_block{quality_food:{quality:2}}

You can also use the following commands

Configuration

There is a configuration per quality - aside from some normal things you can also specify which item should gain which effects

The tag of an item with effects applied to it looks like this:

{
  quality_food: {
    effects: [
      {
        "forge:id": "minecraft:regeneration", 
        chance: 0.45d, 
        Ambient: 0b, 
        CurativeItems: [
          {
            id: "minecraft:milk_bucket", 
            Count: 1b
          }
        ], 
        ShowIcon: 1b, 
        ShowParticles: 1b, 
        Duration: 120, 
        Id: 10, 
        Amplifier: 3b
      }
    ], 
    quality: 1
  }
}

I don't recommend manually creating such items - the quality_food 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


Non-food items can be made applicable to quality by adding them to the quality_food:material_whitelist item tag


Only blocks within the block tag quality_food:quality_blocks will support (i.e. retain) quality


For crafting (crafting table) there are these configs:

The bonus quality a quality ingredient provides is configurable for the crafting table (crafting_bonus)

Cooking quality items will store a quality bonus within the furnace / cooking pot / …


For compatibility’s sake certain blocks (and their item variant) are supported in a broader way than needed

If you find some items having quality where it doesn't make much sense you can blacklist them using the item tag quality_food:blacklist

Compatibility

There are a lot of mod-specific compatibilities already added

Usually the problems are related to:

These things are handled automatically

Misc

Example

Credits for the quality icons go to https://twitter.com/concernedape

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more