Interface MaskSlot


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

    Modifier and Type
    Method
    Description
    @NotNull List<Integer>
    getSlots(UUID uuid)
    Get the slots
    static @NotNull MaskSlot
    of(@NotNull Integer... slots)
    Create a mask slot from the slots
    static @NotNull MaskSlot
    of(@NotNull List<@NotNull Integer> slots)
    Create a mask slot from the slots
    static @NotNull MaskSlot
    of(IntStream slotStream)
    Create a mask slot from the slot stream
  • 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(IntStream slotStream)
      Create a mask slot from the slot stream
      Parameters:
      slotStream - the slot stream
      Returns:
      the mask slot
    • getSlots

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