java.lang.Object
org.cyclops.commoncapabilities.api.capability.fluidhandler.FluidMatch

public final class FluidMatch extends Object
Fluid matching flags.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static 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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static boolean
    areFluidStacksEqual(net.neoforged.neoforge.fluids.FluidStack a, net.neoforged.neoforge.fluids.FluidStack b, int matchFlags)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • ANY

      public static final int ANY
      Convenience value matching any FluidStack.
      See Also:
    • FLUID

      public static final int FLUID
      Match FluidStack fluids.
      See Also:
    • DATA

      public static final int DATA
      Match FluidStacks data components.
      See Also:
    • AMOUNT

      public static final int AMOUNT
      Match FluidStacks amounts.
      See Also:
    • EXACT

      public static final int EXACT
      Convenience 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)