Energy Ports
What are Energy Ports?
Energy ports are used to store Forge Energy (FE) for use in a machine recipe.
If an input port is formed as part of a structure, any stored energy will be looked at for use in a recipe's inputs.
If an output port is formed as part of a structure, free space will be filled with a recipe's energy output.
How to create an Energy Port?
The "type"
field for a fluid port always has the value of mm:energy
, this tells the config reader to look for fluid port specific fields within the "config"
object field.
Within the "config"
object field, the "capacity"
field defines the max amount of energy that can be stored in the port block.
"maxReceive"
and "maxExtract"
define the max amount of energy that can be inserted into the port and extracted from the port every tick.
Last updated