Interface FluidInstance

All Superinterfaces:
DataComponentGetter, TypedInstance<Fluid>
All Known Implementing Classes:
FluidStack, FluidStackTemplate

public interface FluidInstance extends TypedInstance<Fluid>, DataComponentGetter
  • Field Details

  • Method Details

    • amount

      int amount()
    • getFluidType

      default FluidType getFluidType()
      Returns the fluid type of this instance.
    • is

      default boolean is(FluidType fluidType)
      Check if the fluid type of this instance is equal to the given fluid type.