Fluid
Use the fluid requirement in a KubeJS recipe
Use one of these methods to add a Fluid Requirement to the recipe.
The
fluid
param must be created usingFluid.of()
KubeJS method. Example :Fluid.of("minecraft:water", 1000)
The
tank
param must be a string corresponding to a tank id defined in a custom machine json Fluid Componenttank
property.The
tag
param must be a string starting with # defining a valid tag id. Example :"#minecraft:water"
The
amount
param must be a positive integer.The
nbt
param must be a map. Example:{nbt1: 1, nbt2: "something"}
.
Example
Last updated