> For the complete documentation index, see [llms.txt](https://frinn.gitbook.io/custom-machinery-1.16/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.16/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.

### Available requirements

There are currently 21 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.16/recipes/requirements/biome.md)
{% endcontent-ref %}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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