Skip to content
Max M edited this page May 26, 2022 · 2 revisions

Water Centrifuge recipes are defined by JSON files, and can be added/changed/removed by data packs.

Format (anything preceded by // is a comment that should not be in a real JSON):

{
    "type": "crossroads:centrifuge",
    "active": <boolean>//Optional, default true. If false, disable this recipe
    "input": {
        "fluid": <string fluid ID>,//Registry name of input fluid
        "amount": <integer>//Quantity of fluid consumed per batch, in mb
    },
    "output_fluid": {
        "fluid": <string fluid ID>,//Registry name of output fluid
        "amount": <integer>//Quantity of fluid produced per batch, in mb
    },
    //ONE OF THE FOLLOWING
    //For multiple possible outputs, or one output
    "output": [
        {
            "item": <string item ID>,//Registry name of the output item
            "count": <integer>,//Optional, default 1. Number of items produced
            "weight": <integer>//Optional, default 1. Weighting that this item output will be chosen
        },
        ... //Multiple outputs can be specified
    ]
    //For single possible output
    "output": {
        "item": <string item ID>,//Registry name of the output item
        "count": <integer>,//Optional, default 1. Number of items produced
    }
}
Clone this wiki locally