Mana element
Customize the mana bar of the machine gui.
The mana gui element is used to display the content of a Mana Component present in the machine.
Mana elements are defined in json with: "type": "custommachinery:mana"
.
Note that if you didn't set a Mana Component in the machine json the Mana Element will still work but always show a value of 0 mana.
Properties
The mana element has 3 mandatory properties and 5 optional properties:
Mandatory properties
"type": "custommachinery:mana" //Mandatory to define a mana element.
Optional properties
Example
A typical Mana GUI Element:
{
"type": "custommachinery:mana",
"x": 20,
"y": 20
}
Result:

Last updated