Energy
The variant that fill/drain energy items.
Use this variant to make the slot able to fill/drain energy from the machine internal buffer to/from an energy container item placed in that slot.
The fill/drain behavior is determined by the "mode" property of the item component :
"input" will transfer the energy from the item to the machine buffer.
"output" will transfer the energy from the machine buffer to the item.
ID
"variant": "custommachinery:energy"
Accepted items
Any energy container items (most mods cells or batteries) that match the filter defined in the item component "filter" property.
Example
A simple energy slot that transfer the energy from the item to the machine internal buffer :
{
"type": "custommachinery:item",
"id": "energyInput",
"mode": "input",
"variant": "custommachinery:energy"
}
Last updated