Chemical component (Mekanism)
Add chemical tanks inside the machine.
This component requires Custom Machinery Mekanism to be installed.
This components is used to make the machine able to hold Mekanism chemicals.
It is compatible with Mekanism pressurized pipes and any other mods that use the same system.
Basically adding this component to the machine json will add a chemical tank to the machine.
All of Mekanism chemicals types are supported :
Gas
Infusion
Pigment
Slurry
A chemical component can only hold a specific type of chemical (gas OR infusion OR pigment OR slurry). The type of chemical is defined in the type
property (see below).
Properties
The chemical component has 3 mandatory properties and 6 optional properties :
Mandatory properties
"type": "custommachinery:gas" //Mandatory to define a gas chemical component.
OR
"type": "custommachinery:infusion" //Mandatory to define an infusion chemical component.
OR
"type": "custommachinery:pigment" //Mandatory to define a pigment chemical component.
OR
"type": "custommachinery:slurry" //Mandatory to define a slurry chemical component.
Optional properties
ConfigExample
An example of gas chemical component that can store 10000mB of sulfuric acid only, send 1000mB/tick and receive 666mB/tick.
{
"type": "custommachinery:gas",
"capacity": 10000,
"id": "tank1",
"maxInput": 666,
"maxOutput": 1000,
"filter": "mekanism:sulfuric_acid",
"whitelist": true
}
Last updated