Interface Mask
- All Superinterfaces:
Initializable
- All Known Implementing Classes:
AnimatedMask
,BaseMask
,ButtonMapMask
,ButtonPaginatedMask
,HybridMask
,ListMask
,MaskPaginatedMask
,MultiSlotsMask
,OneTimeAnimatedMask
,PaginatedMask
,PlaceholderMask
,PredicateMask
,SequencePaginatedMask
,SingleMask
,StaticButtonPaginatedMask
,StaticMaskPaginatedMask
,StaticSequencePaginatedMask
The interface for all masks
-
Method Summary
Modifier and TypeMethodDescriptionstatic Mask
Create an empty maskgenerateButtons
(@NotNull UUID uuid, @NotNull InventorySize inventorySize) Generate the buttons for the unique id@NotNull String
getName()
Get the name of the maskMethods inherited from interface me.hsgamer.hscore.ui.property.Initializable
init, stop
-
Method Details
-
empty
Create an empty mask- Parameters:
name
- the name of the mask- Returns:
- the mask
-
generateButtons
Optional<Map<@NotNull Integer,@NotNull Button>> generateButtons(@NotNull @NotNull UUID uuid, @NotNull @NotNull InventorySize inventorySize) Generate the buttons for the unique id- Parameters:
uuid
- the unique idinventorySize
- the size of the inventory- Returns:
- the map contains the slots and the buttons
-
getName
Get the name of the mask
-