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
Developer information
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle.
maven { name = "Modrinth"; url = "https://api.modrinth.com/maven" }