.requireMana(amount)
.requireManaPerTick(amount)
.produceMana(amount)
.produceManaPerTick(amount)
The following recipe will consume 1000 mana.
ServerEvents.recipes(event => {
event.recipes.custommachinery.custom_machine("custommachinery:power_crusher", 100)
.requireMana(1000)
})