Interface Mask
- All Superinterfaces:
me.hsgamer.hscore.ui.property.Initializable
- All Known Implementing Classes:
AnimatedMask,BaseMask,ButtonMapMask,ButtonPaginatedMask,HybridMask,ListMask,MaskPaginatedMask,MultiSlotsMask,OneTimeAnimatedMask,PaginatedMask,PlaceholderMask,PredicateMask,SequencePaginatedMask,SingleMask,StaticButtonPaginatedMask,StaticMaskPaginatedMask,StaticSequencePaginatedMask
public interface Mask
extends me.hsgamer.hscore.ui.property.Initializable
The interface for all masks
-
Method Summary
Modifier and TypeMethodDescriptionstatic MaskCreate an empty maskgenerateButtons(@NotNull UUID uuid, @NotNull InventorySize inventorySize) Generate the buttons for the unique id@NotNull StringgetName()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
-