Interface AbstractLazuliContainer.SlotFactory

Enclosing class:
AbstractLazuliContainer
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 AbstractLazuliContainer.SlotFactory
A factory to create Slots from.
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.world.inventory.Slot
    makeSlot(net.minecraft.world.Container container, int slot, int x, int y)
    Creates a slot using the provided coordinates, index, and container.
  • Method Details

    • makeSlot

      net.minecraft.world.inventory.Slot makeSlot(net.minecraft.world.Container container, int slot, int x, int y)
      Creates a slot using the provided coordinates, index, and container.
      Parameters:
      container - The container.
      slot - The index that this slot is for.
      x - The X coordinate.
      y - The Y coordinate.
      Returns:
      A Slot or child.