> For the complete documentation index, see [llms.txt](https://frinn.gitbook.io/custom-machinery-1.19/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://frinn.gitbook.io/custom-machinery-1.19/recipes/requirements.md).

# Requirements

Recipe requirements are what make a recipe do things, should it be inputs, outputs, world interaction etc...

A recipe can take an unlimited amount of requirements.

When processing a recipe, the machine will check all requirements and execute their actions, if one or several requirement couldn't be processed, the machine will switch to error status, display an error and try again later.

Requirements are defined in a recipe json using the `"requirement"` property to specify an array of requirements :&#x20;

{% code title="recipe.json" %}

```json5
{
    "requirements": [
        {
            //Requirement 1
        },
        {
            //Requirement 2
        }
    ]
}
```

{% endcode %}

The `"requirement"` property is optional but the recipe will do nothing if no requirements are specified.

{% hint style="info" %}
You can add or change the [display info](/custom-machinery-1.19/misc/requirement-display-info.md) of any requirement.
{% endhint %}

### Available requirements

There are currently 23 requirement types implemented, each one of them have a specific goal and can be configured as you need.

{% content-ref url="/pages/vx4UNempeYiIkYKfqw4K" %}
[Biome](/custom-machinery-1.19/recipes/requirements/biome.md)
{% endcontent-ref %}

{% content-ref url="/pages/S4xcVvoL3mzDQdulJjdz" %}
[Block](/custom-machinery-1.19/recipes/requirements/block.md)
{% endcontent-ref %}

{% content-ref url="/pages/zEZHvsoJqCTqjfnt1phB" %}
[Command](/custom-machinery-1.19/recipes/requirements/command.md)
{% endcontent-ref %}

{% content-ref url="/pages/kd2ajQCVZ4TUCeqiVX3B" %}
[Dimension](/custom-machinery-1.19/recipes/requirements/dimension.md)
{% endcontent-ref %}

{% content-ref url="/pages/XXZetPPFRTkIo2PvaJUx" %}
[Drop](/custom-machinery-1.19/recipes/requirements/drop.md)
{% endcontent-ref %}

{% content-ref url="/pages/g1kK94t20p9nbuUZ7ABh" %}
[Durability](/custom-machinery-1.19/recipes/requirements/durability.md)
{% endcontent-ref %}

{% content-ref url="/pages/YB2XfHROn2YXrPcSxFv2" %}
[Effect](/custom-machinery-1.19/recipes/requirements/effect.md)
{% endcontent-ref %}

{% content-ref url="/pages/a2OLyHCVWg1a3u6TWgeV" %}
[Energy](/custom-machinery-1.19/recipes/requirements/energy.md)
{% endcontent-ref %}

{% content-ref url="/pages/sq1nzlU6KI2w7huMjgjh" %}
[Energy per tick](/custom-machinery-1.19/recipes/requirements/energy-per-tick.md)
{% endcontent-ref %}

{% content-ref url="/pages/oOyYTLDud5mge96UaaNN" %}
[Entity](/custom-machinery-1.19/recipes/requirements/entity.md)
{% endcontent-ref %}

{% content-ref url="/pages/NqbcsbJHmLdUqrXRLly7" %}
[Fluid](/custom-machinery-1.19/recipes/requirements/fluid.md)
{% endcontent-ref %}

{% content-ref url="/pages/Xzb1IFG4WMRZ6wauVunC" %}
[Fluid per tick](/custom-machinery-1.19/recipes/requirements/fluid-per-tick.md)
{% endcontent-ref %}

{% content-ref url="/pages/MzKPavrHPxtRaBGFdxLH" %}
[Fuel](/custom-machinery-1.19/recipes/requirements/fuel.md)
{% endcontent-ref %}

{% content-ref url="/pages/Ux71MzAwU8GTXEmaN1Be" %}
[Item](/custom-machinery-1.19/recipes/requirements/item.md)
{% endcontent-ref %}

{% content-ref url="/pages/XqMo1zx7zcEvgva1HfkF" %}
[Item transform](/custom-machinery-1.19/recipes/requirements/item-transform.md)
{% endcontent-ref %}

{% content-ref url="/pages/03v5VVCQOHsAikggLGsv" %}
[Light](/custom-machinery-1.19/recipes/requirements/light.md)
{% endcontent-ref %}

{% content-ref url="/pages/YhJk3RlcfZcbY8ELI5dR" %}
[Loot table](/custom-machinery-1.19/recipes/requirements/loot-table.md)
{% endcontent-ref %}

{% content-ref url="/pages/A0YkvijPgd5aQDwrAzTW" %}
[Position](/custom-machinery-1.19/recipes/requirements/position.md)
{% endcontent-ref %}

{% content-ref url="/pages/u9QYBIfyqYDY3FXOW1Ex" %}
[Redstone](/custom-machinery-1.19/recipes/requirements/redstone.md)
{% endcontent-ref %}

{% content-ref url="/pages/5xofbNwJZKZk3XnUPvFq" %}
[Sky](/custom-machinery-1.19/recipes/requirements/sky.md)
{% endcontent-ref %}

{% content-ref url="/pages/tPEEg5N95onAVjg1QGyR" %}
[Structure](/custom-machinery-1.19/recipes/requirements/structure.md)
{% endcontent-ref %}

{% content-ref url="/pages/MlPIAL1Sh6gDDUzaEnAC" %}
[Time](/custom-machinery-1.19/recipes/requirements/time.md)
{% endcontent-ref %}

{% content-ref url="/pages/Q32qPw4apRjRPbAnPLXE" %}
[Weather](/custom-machinery-1.19/recipes/requirements/weather.md)
{% endcontent-ref %}

### Addons requirements

These requirements are implemented in their own Custom Machinery addons.

#### Mekanism

{% content-ref url="/pages/3xZE1bQAXJ6vVF9OF4xv" %}
[Chemical (Mekanism)](/custom-machinery-1.19/recipes/requirements/chemical-mekanism.md)
{% endcontent-ref %}

{% content-ref url="/pages/IDiYdMPML2YrT8c1n4zu" %}
[Heat (Mekanism)](/custom-machinery-1.19/recipes/requirements/heat-mekanism.md)
{% endcontent-ref %}

{% content-ref url="/pages/ugqndSuxBkw4O9zGPQOA" %}
[Radiation (Mekanism)](/custom-machinery-1.19/recipes/requirements/radiation-mekanism.md)
{% endcontent-ref %}

{% content-ref url="/pages/Al75RV7HzxtFGqUbtUZr" %}
[Temperature requirement (Mekanism)](/custom-machinery-1.19/recipes/requirements/temperature-requirement-mekanism.md)
{% endcontent-ref %}

#### Create

{% content-ref url="/pages/DepYE5VXqzFKr24NXpUO" %}
[Contraption requirement (Create)](/custom-machinery-1.19/recipes/requirements/contraption-requirement-create.md)
{% endcontent-ref %}
