Machine

The processor for machine recipes.

The machine processor is used by default to process Machine recipes.

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 :

Optional properties

Cooldown

Name : cooldown

Description :

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 :

The machine will now check recipes every ticks instead of every second :

"cooldown": 1

Example

Make the machine use the machine processor (not needed as it's the default) :

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

Last updated