Recipe Conditions

Recipe Conditions provide a way to limit when or where a process recipe can be run.

Using Recipe Conditions

To use recipe conditions, simply add a field to your recipe called "conditions" to your recipe json file.

{
    // other fields
    "conditions": [
        // add conditions here
    ]
}

Weather Condition

{
    "type": "mm:weather",
    "weather": "clear"
}

The "type" field for the weather recipe condition is mm:weather.

The "weather" field can have one of the following values:

  • clear - no-rain or thunder

  • rain raining

  • thunder raining and thundering

Dimension Condition

{
    "type": "mm:dimension",
    "dimension": "minecraft:overworld"
}

The "type" field for the dimension recipe condition is mm:dimension.

The "dimension" field should be the id of the dimension that the structure should be in for the recipe to run.

Last updated