# Machine

The machine processor is used by default to process [Machine recipes](https://frinn.gitbook.io/custom-machinery-1.19/recipes/machine-recipe).

If the `"processor"` property is not specified in the machine json, this processor will be used by default.

### Properties

There is only 1 optional property for this processor :&#x20;

#### Optional properties

<details>

<summary>Cooldown</summary>

#### Name : `cooldown`

#### Description :&#x20;

The time in ticks between two recipe checks for a machine. When a machine using this processor fail to find a recipe to process (in idle mode) the machine will wait for a bit of time before checking the recipes again.

Decreasing this cooldown will make the machine start the process faster, but can also increase the lag generated by idle machines. Use with caution.

#### Default : 20 ticks (1 second)

#### Example :&#x20;

The machine will now check recipes every ticks instead of every second :&#x20;

```json
"cooldown": 1
```

</details>

### Example

Make the machine use the machine processor (not needed as it's the default) :&#x20;

```json
{
    "name": "Name of the machine",
    "appearance": {},
    "processor": {
        "type": "custommachinery:machine"
    }
}
```
