Fluid component
Add a fluid tank inside the machine.
This is the component that will let your machine interact with the Forge Fluid system (like tanks, pipes and so).
It is compatible with any other mods that use the same system (so about all of them) so any pipes will be able to pump fluids in and out of the machine.
Basically adding this component to the machine json will add a fluid tank to the machine.
Fluid component is defined with "type": "custommachinery:fluid"
in the json.
Properties
The fluid component has 3 mandatory properties and 7 optional properties :
Mandatory properties
"type": "custommachinery:fluid" //Mandatory to define a fluid component.
Optional properties
ConfigExample
An example of Fluid Component that can store 10000mB of lava only, send 1000mB/tick and receive 666mB/tick.
{
"type": "custommachinery:fluid",
"capacity": 10000,
"id": "lavatank",
"maxInput": 666,
"maxOutput": 1000,
"filter": ["minecraft:lava"],
"whitelist": true
}
Last updated