Mana
Use the mana requirement in a KubeJS recipe
Use one of these methods to add an Mana Requirement to the recipe.
.requireMana(amount)
.requireManaPerTick(amount)
.produceMana(amount)
.produceManaPerTick(amount)- The - amountparam must be a positive integer.
Example
The following recipe will consume 1000 mana.
ServerEvents.recipes(event => {
  event.recipes.custommachinery.custom_machine("custommachinery:power_crusher", 100)
  .requireMana(1000)
  
})Last updated
