Quality Food

Quality Food

Mod

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

Client and server Game Mechanics

9,309 downloads
42 followers
Follow Save
90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!
Filter loader...
Filter versions...
Filter channels...

Adjusted crafting / crop drop quality chance Qualities now have a min. weight and a weight field (config)

Each quality gets rolled using these weights Example with default values:

iron: 0 / 1 gold: 1 / 2 diamond: 1.75 / 3

5 ingredients

  • 2 are of gold quality
  • 2 are of diamond quality
  • 1 has no quality

2x2 + 2x3 + 0 -> 10 / 5 = average quality of 2

Rolling for gold: (2 - 1) / (2 - 1) = 1 (100%)

Rolling for diamond: (2 - 1.75) / (3 - 1.75) = 0.2 (20%)

Formula: (average_weight - min_weight) / (weight - min_weight)


Since crops only have 1 quality to work with there are also two configs for seed and crop drops (a multiplier to the chance), in case you want to reduce the chance of quality seeds dropping (per quality)


Fixes:

  • sophisticated storage compat
  • create crushing wheel
  • create harvester

fix compatibility with sophisticated storage

make jade quality tooltip translatable

  • fixed an issue that could occur when saving block entity data
  • added config to retain quality for recipes whose output is a seed (to avoid having to add all of them to the retain quality config)
  • added some entries to default quality block tag + configs
  • adjustment / fix to particles (which appear when cooking block has stored quality)
  • miners delight copper cooking pot support
  • added config to retain quality for recipes whose output is a seed (to avoid having to add all of them to the retain quality config)
  • added some entries to default quality block tag + configs
  • adjustment / fix to particles (which appear when cooking block has stored quality)

fixed a mixin application error which caused issues with world join

  • changed how cooking works
    • the lowest quality level of the ingredient is now picked as the base quality of the result
    • the stored bonus (from cooking quality ingredients) will still have an effect by providing a chance to upgrade the quality
    • (cooking 30x gold raw meat = 30x gold cooked meat + chance to uprade to diamond)
    • (cooking 25x gold raw meat + 5x iron raw meat = 30x iron raw meat + chance to upgrade to gold or diamond)
  • fixed hoppers not working with furnaces
  • slight change how the effect tooltip handling is done (includes icons now)
    • (the tooltip changes can still be disabled through the client config)

small fix for previous version to make quality actually upgrade when cooking

  • changed how cooking works
    • the lowest quality level of the ingredient is now picked as the base quality of the result
    • the stored bonus (from cooking quality ingredients) will still have an effect by providing a chance to upgrade the quality
  • fixed hoppers not working with furnaces
  • slight chance how the effect tooltip handling is done (includes icons now)
    • (the tooltip changes can still be disabled through the client config)
  • added smarter farmers compat
  • fixed potential crash with effect tooltips
  • smarter farmer compat (their planted crops retain quality of the used seed / they prioritize using higher quality seeds)
  • fix quality application command not overriding existing quality (if specified to do so)

fix server startup issue

  • some farm & charm support
  • re-enabled vinery support
  • improved recipe check performance
  • added support for neoforge config screen
  • fixed icon bug caused by fixing icon bug
  • some farm & charm support
  • cleaned up some tags

fix quality icon overlapping / showing above other tooltips (obscure tooltips e.g.)

WARNING: this will remove quality from currently placed blocks

switched from block state to level data to store quality

  • this allows users to add support for blocks which do not retain quality when placed, by adding them to the quality_food:quality_blocks block tag
  • this is also more compatible in terms of retaining quality when being re-planted etc.

added support for collectorsreap

added more entries to the default config

  • fastworkbench support
  • fix crash when applying invalid quality through command
  • fix saturation calculation

some fruitful fun support

  • fastworkbench support
  • crate delight support
  • support for create mechanical harvester
  • support for create fan cooking

Project members

Cadentem

Member

Details

Licensed MIT
Published a year ago
Updated 2 days ago