Sky
Use the sky requirement in a KubeJS recipe
Use this method to add a sky requirement to the recipe.
.mustSeeSky()
Example
The following recipe will require the machine to have a clear access to the sky :
onEvent('recipes', event => {
event.recipes.custommachinery.custom_machine("custommachinery:power_crusher", 100)
.mustSeeSky()
})
Last updated