PNC Heat (PNC)
Use the PNC heat or temperature requirements in a KubeJS recipe.
This requirement requires Custom Machinery Pneumaticcraft to be installed.
Use one of these methods to add a heat requirement or temperature requirement to the recipe.
.requirePNCHeat(amount)
.requirePNCHeatPerTick(amount)
.producePNCHeat(amount)
.producePNCHeatPerTick(amount)
.requirePNCTemp(range)
The
amount
param must be a positive integer.The
range
param must be a valid Range.
Example
The following recipe will run only if the machine temperature is above 100°C and will produce 1000 heat.
ServerEvents.recipes(event => {
event.recipes.custommachinery.custom_machine("custommachinery:power_crusher", 100)
.requirePNCTemp("(100,)")
.producePNCHeat(1000)
})
Last updated