> For the complete documentation index, see [llms.txt](https://alec.gitbook.io/custom-machinery-botania-1.19/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://alec.gitbook.io/custom-machinery-botania-1.19/mod-integrations/crafttweaker/recipes/mana.md).

# Mana

**Use one of these methods to add an** [**mana requirement**](/custom-machinery-botania-1.19/recipes/requirements/mana.md) **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();
```
