FluidIngredient
Importing the class
If you need to reference this type directly, like when casting an Array, or as a parameter, you will need to import it. Simply add the import at the top of the file.
import crafttweaker.api.fluid.FluidIngredient;Description
FluidIngredient that facilitates accepting either a single, or multipleIFluidStacks, <Fluid>s or Many<KnownTag<Fluid>>s. Implements
FluidIngredient
implements the following interfaces:
Operators
|(other as CTFluidIngredient) as CTFluidIngredient
myCTFluidIngredient | myCTFluidIngredientParameters:
other: FluidIngredient Type: FluidIngredient
Return Type:
FluidIngredient
Members
matches(fluid as Fluid) as bool
matches(fluidStack as IFluidStack) as bool
myCTFluidIngredient.matches(myIFluidStack);Parameters:
fluidStack: IFluidStack Type: IFluidStack
Return Type:
bool