Mana Pool¶
Available in all versions
Mana Pools are used to store mana. They are also used to craft items.
Requirement
Requires the Botania mod to be installed
Functions¶
getMana¶
getMana() -> number
getMaxMana¶
getMaxMana() -> number
Added in version 0.7.4r
getManaNeeded¶
getManaNeeded() -> number
Returns the amount of mana needed to fill the pool. Equivalent to getMaxMana() - getMana()
.
isEmpty¶
isEmpty() -> boolean
isFull¶
isFull() -> boolean
Available in versions >=1.20.1-0.7.39r
canChargeItem¶
canChargeItem() -> boolean
Available in versions >=1.20.1-0.7.39r
hasItems¶
hasItems() -> boolean
Available in versions >=1.20.1-0.7.39r
getItems¶
getItems() -> table
Changelog/Trivia¶
1.20.1-0.7.39r
Ported Botania integration to 1.20.1
Added getItems()
, hasItems()
and canChargeItem()
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