Mana

Use the mana requirement in a Crafttweaker recipe

Use one of these methods to add an mana requirement to the recipe.

.requireMana(amount)
.requireManaPerTick(amount)

.produceMana(amount)
.produceManaPerTick(amount)
  • The amount param must be a positive integer.

Example

The following recipe will produce 100 mana:

<recipetype:custommachinery:custom_machine>.create("custommachinery:power_crusher", 20)
.produceMana(100)
.build();

Last updated