/
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
gold qualitydiamond quality2x2 + 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: