Mana Component

Add a mana tank inside the machine.

This component requires Custom Machinery Botania to be installed.

This component is used to make the machine to hold Botania mana.

It is compatible with Botania mana spreaders and other mod stuff that uses the same system.

Basically adding this component to the machine json will add a mana tank to the machine.

You can add only one mana component to your machine.

If more than one is added, only one will work.

Properties

The mana component has 2 mandatory property and 3 optional properties:

Mandatory properties

"type": "custommachinery:mana" //Mandatory to define a mana component.
Capacity

Name: capacity

Description:

A positive integer value that define the amount of mana that can be stored in the tank (Volume in Botania mana)

Example:

"capacity": 100000

Optional properties

Max input

Name : maxInput

Description :

A positive integer that represent the max mana that can be input in the tank during a single tick.

Default :

The capacity of the tank.

Example :

"maxInput": 1000 //The machine can accept 1000 mana/tick
Max output

Name : maxOutput

Description :

A positive integer that represent the max mana that can be output from the tank during a single tick.

Default :

The capacity of the tank.

Example :

"maxOutput": 1000 //The machine can give 1000 mana/tick
Mode

Name : mode

Description :

The IO mode of the tank(can be change ingame with wand of the forest).

Available modes are (input/output/both/none).

Default : both

Example :

"mode": "input" //Set the tank as an input tank.

Example

An example of a mana component that stores 100000 mana, send 1000 mana/tick and receive 666 mana/tick.

{
    "type": "custommachinery:mana",
    "capacity": 100000,
    "maxInput": 1000,
    "maxOutput": 666
}

Last updated