Contraption requirement (Create)

Make the machine consume or produce Create SU

This requirement requires Custom Machinery Create to be installed.

The contraption requirement is used to make a recipe able to require or produce some Create kinetic speed and stress.

This requirement is available in both input and output modes.

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

Properties

The block requirement has 3 mandatory properties and 1 optional property.

Mandatory properties

"type": "custommachinery:contraption" //Mandatory to define a contraption requirement.
Mode

Name : mode

Description :

Define the mode (input or output) of this requirement.

  • Input : The recipe will requires the specified amount of kinetic speed to start. If a stress value is specified the recipe will add a stress impact of speed * stress to the kinetic network.

  • Output : The recipe will produce the specified amount of kinetic speed while the machine is running. If a stress value is specified the recipe will add a stress capacity of speed * stress to the kinetic network.

Example :

The recipe will produce SU :

"mode": "output"
Speed

Name : speed

Description :

A positive decimal value that define the amount of kinetic speed (in RPM)that the recipe will require or produce.

Example :

The recipe will require or produce 64rpm :

"speed": 64

Optional property

Stress

Name : stress

Description :

A positive decimal value that define the kinetic stress capacity or impact (depending on the mode property) that the recipe will add to the kinetic network.

Default : 0

Example :

Add a kinetic stress impact/capacity of 2 times the machine speed :

"stress": 2
Scaling

Name : scaling

Description :

A boolean that define if the recipe processing speed should be scaled to the rotation speed provided to the machine.

For example if the recipe requires a speed of 128 and a speed of 256 is provided the recipe will be processed 2x faster.

Default : false

Example :

The processing speed will be scaled to the rotation speed :

"scaling": true

Example

A contraption requirement that will make the recipe require at least 64rpm to start and add a stress impact of 2 times its speed to the network :

{
    "type": "custommachinery:contraption",
    "mode": "input",
    "speed": 64,
    "stress": 2