Skip to content

Mana Pool

Available in all versions

Picture

Image of the Mana Pool block

Mana Pools are used to store mana. They are also used to craft items.

Requirement

Requires the Botania mod to be installed


Peripheral Name Interfaces with Has events Introduced in
manaPool Mana Pool block No 0.6b


Functions

getMana

getMana() -> number
Returns the amount of mana stored in the pool.


getMaxMana

getMaxMana() -> number
Returns the maximum amount of mana that the pool can hold.


getManaNeeded

getManaNeeded() -> number

Added in version 0.7.4r

Returns the amount of mana needed to fill the pool. Equivalent to getMaxMana() - getMana().


isEmpty

isEmpty() -> boolean
Returns true if the Mana Pool is empty.


isFull

isFull() -> boolean
Returns true if the Mana Pool is full.


Changelog/Trivia

0.7.16
Ported Botania integration to 1.18

0.7.4r
Added getManaNeeded to the Mana Pool integration

0.6b
Added integration for Botania