Masterful Machinery
  • 👋MM Docs
  • 💡Base Features & Config
    • Controllers
    • Ports
      • Item Ports
      • Fluid Ports
      • Energy Ports
      • Mekanism Ports (Compat)
        • Gas Ports
        • Slurry Ports
        • Pigment Ports
        • Infusion Ports
      • Create Kinetic (Compat)
      • PneumaticCraft Air (Compat)
    • Extra Blocks
    • Structures
      • Structure Requirements
      • Common Requirements
    • Process Recipes
      • Ingredient Configs
      • Input Entries
      • Output Entries
      • Recipe Conditions
  • 🔩Compat Features
    • KubeJS Support
      • Register Controller
      • Register Port
      • Register Extra Blocks
      • Create Structures
      • Create Process Recipes
  • Tutorial Guides
    • Step by Step Datapack Edition
  • General Help
    • 🪞Custom Textures
  • 🎥Gallery
    • Coke Oven
  • 📎Archived Versions
    • Deprecated 1.16 Versions
    • Deprecated 1.18-1.19 Versions
      • Data Packs
Powered by GitBook
On this page
  • Using Recipe Conditions
  • Weather Condition
  • Dimension Condition
  1. Base Features & Config
  2. Process Recipes

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.

PreviousOutput EntriesNextKubeJS Support

Last updated 11 months ago

💡