Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fixed quantity, varied ratio outputs #4916

Open
Labels
1.20.1 type: featureNew feature or request bundled for a 0.X.0 Update

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

No one assigned

    Labels

    1.20.1 type: featureNew feature or request bundled for a 0.X.0 Update

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /