Temperature requirement (Mekanism)

Make a recipe process only when the machine is at a specific temperature.

This requirement requires Custom Machinery Mekanism to be installed.

The temperature requirement can be used to make a recipe start only if the machine's heat component temperature is at a specific value.

This requirement doesn't consume or produce anything, it's only a condition for the recipe to start.

The requirement type of temperature requirement is : "custommachinery:temperature".

Properties

The temperature requirement has 2 mandatory properties and 1 optional property.

Mandatory property

"type": "custommachinery:temperature" //Mandatory to define a temperature requirement.
Temperature

Name : temperature

Description :

A Range of values that will allow the recipe to start.

Example :

The recipe will start only if the machine temperature is above 100 (unit is defined in the other property)

"temperature": "[100,]"

Optional property

Unit

Name : unit

Description :

The unit of temperature used by the temperature property range.

Valid values :

  • kelvin

  • celsius

  • fahrenheit

  • rankine

  • ambient

Default : kelvin

Example :

The range defined in the temperature property will be temperatures in °C

"unit": "celsius"

Example

A temperature requirement that will allow the recipe to run only if the machine temperature is higher than 100°C :

{
    "type": "custommachinery:temperature",
    "temperature": "(100,)",
    "unit": "celsius"
}