Class FluidMatch
java.lang.Object
org.cyclops.commoncapabilities.api.capability.fluidhandler.FluidMatch
Fluid matching flags.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Match FluidStacks amounts.static final int
Convenience value matching any FluidStack.static final int
Match FluidStacks data components.static final int
Convenience value matching FluidStacks exactly by fluid, data component and amount.static final int
Match FluidStack fluids. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
areFluidStacksEqual
(net.neoforged.neoforge.fluids.FluidStack a, net.neoforged.neoforge.fluids.FluidStack b, int matchFlags)
-
Field Details
-
ANY
public static final int ANYConvenience value matching any FluidStack.- See Also:
-
FLUID
public static final int FLUIDMatch FluidStack fluids.- See Also:
-
DATA
public static final int DATAMatch FluidStacks data components.- See Also:
-
AMOUNT
public static final int AMOUNTMatch FluidStacks amounts.- See Also:
-
EXACT
public static final int EXACTConvenience value matching FluidStacks exactly by fluid, data component and amount.- See Also:
-
-
Constructor Details
-
FluidMatch
public FluidMatch()
-
-
Method Details
-
areFluidStacksEqual
public static boolean areFluidStacksEqual(net.neoforged.neoforge.fluids.FluidStack a, net.neoforged.neoforge.fluids.FluidStack b, int matchFlags)
-