Skip to content

Fluid Cooling Chamber

Max M edited this page Sep 9, 2021 · 3 revisions

Fluid Cooling Chamber recipes are defined by JSON, and can be added/changed/removed by data packs.

The post-Crossroads 2.7.0 JSON specification is below. Anything preceded by // is a comment, and should not be in an actual JSON.

{
    "type": "crossroads:fluid_cooling",
    //ONE OF THE FOLLOWING
    //For a single fluid input:
    "fluid": <string fluid ID>,//Registry name of the input fluid
    //OR 
    "tag": <string tag ID>,//Fluid path tag to match all fluids in the tag
    //OR, for mulit-fluid input:
    "input": [
        {
            "fluid": <string fluid ID>,//Registry name of the input fluid
            //OR 
            "tag": <string tag ID>,//Fluid path tag to match all fluids in the tag
        },
        //.... with as many accepted fluids as desired
    ],
    "fluid_amount": <integer>//Amount of fluid per craft, in mb
    "max_temp": <float>,//The maximum temperature this recipe can occur at, in degrees C
    "temp_change": <float>,//Optional, default 0. The amount of heat added when crafting, in degrees C
    //ONE OF THE FOLLOWING
    //For a single item output
    "item": <string item ID>//Registry name of the created item
    //For multiple of the same item output
    "output": {
        "item": <string item ID>//Registry name of the created item
        "count": <integer>//Optional, default 1. Number of items created
    }
}

The pre-Crossroads 2.7.0 JSON specification is below. Anything preceded by // is a comment, and should not be in an actual JSON.

{
    "type": "crossroads:fluid_cooling",
    "input": {
        "fluid": <string fluid ID>,//Registry name of the input fluid
        "amount": <integer>//Amount of fluid per craft, in mb
    },
    "max_temp": <float>,//The maximum temperature this recipe can occur at, in degrees C
    "temp_change": <float>,//Optional, default 0. The amount of heat added when crafting, in degrees C
    //ONE OF THE FOLLOWING
    //For a single item output
    "item": <string item ID>//Registry name of the created item
    //For multiple of the same item output
    "output": {
        "item": <string item ID>//Registry name of the created item
        "count": <integer>//Optional, default 1. Number of items created
    }
}
Clone this wiki locally