Interface FluidContainerMenu.FluidSlotHandlerFunction

Enclosing class:
FluidContainerMenu
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface FluidContainerMenu.FluidSlotHandlerFunction
Used as a function to customize fluid slots with the append methods
  • Method Summary

    Modifier and Type
    Method
    Description
    getSlot(FluidHandlerModifiable fluidHandler, int index, int xPosition, int yPosition)
    Should return a slot with the applied parameters.
  • Method Details

    • getSlot

      FluidSlot getSlot(FluidHandlerModifiable fluidHandler, int index, int xPosition, int yPosition)
      Should return a slot with the applied parameters.
      Parameters:
      fluidHandler - A fluid handler
      index - Index for this fluid handler
      xPosition - x coordinate
      yPosition - y coordinate
      Returns:
      A Slot instance