Contraption (Create)
Use the contraption requirement in a KubeJS recipe
.requireSU(speed)
.requireSU(speed, stressImpact)
.requireScalingSU(speed)
.requireScalingSU(speed, stressImpact)
.produceSU(speed)
.produceSU(speed, stressCapacity)Example
ServerEvents.recipes(event => {
event.recipes.custommachinery.custom_machine("custommachinery:power_crusher", 100)
.requireSU(64, 2)
})Last updated