Redstone

Use the redstone requirement in a KubeJS recipe

Use one of these methods to add a Redstone Requirement to the recipe.

.requireRedstone(power)
  • The power param must be a valid range that define the acceptable redstone signal values to start the recipe.

Example

ServerEvents.recipes(event => {

  event.recipes.custommachinery.custom_machine("custommachinery:power_crusher", 100)
  .requireRedstone("(,8)")
  
})