Contraption (Create)
Use the contraption requirement in a CT recipe
This requirement requires Custom Machinery Create to be installed.
Use one of these methods to add a contraption requirement to the recipe.
.requireSU(speed)
.requireSU(speed, stressImpact)
.produceSU(speed)
.produceSU(speed, stressCapacity)
The
speed
,stressImpact
andstressCapacity
params must be a positive decimal value.
Example
This recipe require at least 64rpm to start and add a stress impact of 2 times its speed to the network :
<recipetype:custommachinery:custom_machine>.create("custommachinery:boiler", 20)
.requireSU(64, 2)
.build();
Last updated