-
Notifications
You must be signed in to change notification settings - Fork 389
Fixed quantity, varied ratio outputs #4916
Open
Description
Cross-mod Integration
No response
Minecraft Version
1.20.1 Forge
Feature Description
I want to be able to create recipes which have a random ratio of outputs but maintain a fixed count of these outputs. For example a centrifuging recipe which takes in 10 of dust A and outputs a random amount of dust B and C, the probabilities of each being settable but there would never be an amount of outputs which sum to any less than 10.
In my mind this is best implemented by having a list of possible outputs and a chance of each, going from output 1 to output n. The first output in the list would roll its probability, and whatever portion of the maximum is left would be the chance of the maximum of the next probability, this would continue until the final output in the list which would take up any remaining space.
Metadata
Metadata
Assignees
Type
Fields
Give feedbackNo fields configured for issues without a type.