Fluid per tick
Make the recipe consume or produce fluids every tick
Fluid per tick requirement is used to define fluid inputs and outputs in a custom machine recipe.
To use it you need to provide the registry name and the amount (in mB, with 1000mB being 1 Bucket of fluid) of the fluid you want the recipe to consume/produce.
This requirement is available in both input
and output
modes.
In input mode : The machine will consume the desired amount of the specified fluid from the input tank it's in.
In output mode : The machine will produce the desired amount of the specified fluid and put it in the first disponible tank.
The requirement type of fluid per tick requirement is : "custommachinery:fluid_per_tick".
Properties
The fluid per tick requirement has 3 mandatory properties and 2 optional properties.
Mandatory properties
"type": "custommachinery:fluid_per_tick" //Mandatory to define a fluid per tick requirement.
Optional properties
Example
A fluid requirement that will make the custom machine recipe consume 20mB of water with 50% chance :
{
"type": "custommachinery:fluid_per_tick",
"mode": "input",
"ingredient": {
"fluid": "minecraft:water",
"amount": 20
}
"chance": 0.5
}
Last updated