Interface MaskSlot


public interface MaskSlot
The slot for the mask. Used to get the slots for the unique id.
  • Method Details

    • of

      @NotNull static @NotNull MaskSlot of(@NotNull @NotNull List<@NotNull Integer> slots)
      Create a mask slot from the slots
      Parameters:
      slots - the slots
      Returns:
      the mask slot
    • of

      @NotNull static @NotNull MaskSlot of(@NotNull @NotNull Integer... slots)
      Create a mask slot from the slots
      Parameters:
      slots - the slots
      Returns:
      the mask slot
    • of

      @NotNull static @NotNull MaskSlot of(@NotNull @NotNull IntStream slotStream)
      Create a mask slot from the slot stream
      Parameters:
      slotStream - the slot stream
      Returns:
      the mask slot
    • of

      @NotNull static @NotNull MaskSlot of(@NotNull @NotNull Function<InventorySize,List<Integer>> slotFunction)
      Create a mask slot from the slot function
      Parameters:
      slotFunction - the slot function
      Returns:
      the mask slot
    • getSlots

      @NotNull @NotNull List<Integer> getSlots(UUID uuid, InventorySize size)
      Get the slots
      Parameters:
      uuid - the unique id
      size - the size of the inventory
      Returns:
      the slots