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
- 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)
- 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)
- 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)
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