Mana

The variant that fill/drain mana items.

Use this variant to make the slot able to fill/drain mana from the machine internal buffer to/from an mana container item placed in that slot.

The fill/drain behavior is determined by the "mode" property of the item component :

  • "input" will transfer the mana from the item to the machine buffer.

  • "output" will transfer the mana from the machine buffer to the item.

ID

"variant": "custommachinery:mana"

Accepted items

Any mana container items (mana tablets, mana band,...) that match the filter defined in the item component "filter" property.

Example

A simple mana slot that transfer the mana from the item to the machine internal buffer :

{
    "type": "custommachinery:item",
    "id": "manaInput",
    "mode": "input",
    "variant": "custommachinery:mana"
}

Last updated