Interface ForFluidStacks<T>

All Superinterfaces:
DisplayContentsFactory<T>
All Known Implementing Classes:
FluidStackContentsFactory

public interface ForFluidStacks<T> extends DisplayContentsFactory<T>
  • Method Details

    • forStack

      default T forStack(Holder<Fluid> fluid)
      Returns display data for the given fluid holder.
      Parameters:
      fluid - Fluid holder to display.
      Returns:
      display data for the given fluid holder
    • forStack

      default T forStack(Fluid fluid)
      Returns display data for the given fluid.
      Parameters:
      fluid - Fluid to display.
      Returns:
      display data for the given fluid
    • forStack

      T forStack(FluidStack fluid)
      Returns display data for the given fluid stack.
      Parameters:
      fluid - Fluid stack to display
      Returns:
      display data for the given fluid stack