Mana
Make the recipe consume or produce mana.
Mana requirement is used to define mana inputs and outputs for a custom machine recipe.
To use it you just need to provide the amount of mana you want the recipe to consume/produce.
This requirement is available in both input and output modes.
In input mode : When starting to craft the recipe, the machine will consume the specified amount of mana from the machine mana component.
In output mode : When starting to craft the recipe, the machine will produce the specified amount of mana and put it in the machine mana component.
The requirement type of mana requirement is : "custommachinery:mana".
Properties
The Mana Requirement has 3 mandatory property.
Mandatory properties
"type": "custommachinery:mana" //Mandatory to define an mana requirement.Mode
Name : mode
modeDescription :
Define the I/O mode of the requirement.
inputThe requirement will consume mana at the start of the crafting process.outputThe requirement will produce mana at the end of the crafting process.
Example :
"mode": "input"The requirement will consume mana at the start of the crafting process.
Mana
Name : mana
manaDescription :
A positive integer value that define the amount of mana the recipe will consume/produce.
It can be any positive number but remember that the machine mana component must be able to store at least this amount of mana.
Example :
"mana": 1000The recipe will consume/produce 1000 mana.
Example
A mana requirement that will make the recipe produce 2672 mana:
A mana requirement that will make the recipe consume 100 mana:
Last updated