Interface MaskSlot
public interface MaskSlot
The slot for the mask.
Used to get the slots for the unique id.
-
Method Summary
Modifier and TypeMethodDescriptiongetSlots(UUID uuid, InventorySize size) Get the slotsstatic @NotNull MaskSlotCreate a mask slot from the slotsstatic @NotNull MaskSlotof(@NotNull Function<InventorySize, List<Integer>> slotFunction) Create a mask slot from the slot functionstatic @NotNull MaskSlotCreate a mask slot from the slotsstatic @NotNull MaskSlotCreate a mask slot from the slot stream
-
Method Details
-
of
Create a mask slot from the slots- Parameters:
slots- the slots- Returns:
- the mask slot
-
of
Create a mask slot from the slots- Parameters:
slots- the slots- Returns:
- the mask slot
-
of
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
Get the slots- Parameters:
uuid- the unique idsize- the size of the inventory- Returns:
- the slots
-