Skip to content

Mana Spreader

Available in all versions

Picture

!Image of the Mana Spreader block

Mana Spreaders are used to transfer mana from one source to another.

Requirement

Requires the Botania mod to be installed


Peripheral Name Interfaces with Has events Introduced in
manaSpreader Mana Spreader block No 0.6b


Functions

getMana

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


getMaxMana

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


isEmpty

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


isFull

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


getVariant

getVariant() -> string
Returns the variant of the Mana Spreader.


getBounding

getBounding() -> table
Returns the coordinates of the Mana Spreader's target.

Properties

table Description
x: number The x coordinate
y: number The y coordinate
z: number The z coordinate

Changelog/Trivia

0.7.16
Ported Botania integration to 1.18

0.6b
Added integration for Botania