# Mana

**Use one of these methods to add an** [**mana requirement**](https://alec.gitbook.io/custom-machinery-botania-1.19/recipes/requirements/mana) **to the recipe.**

```javascript
.requireMana(amount)
.requireManaPerTick(amount)

.produceMana(amount)
.produceManaPerTick(amount)
```

* The `amount` param must be a positive integer.

### Example

The following recipe will produce 100 mana:&#x20;

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