Class ClickTypeUtils
java.lang.Object
me.hsgamer.hscore.bukkit.clicktype.ClickTypeUtils
The utility to work with AdvancedClickType
-
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull BukkitClickType
getClickTypeFromEvent
(@NotNull org.bukkit.event.inventory.InventoryClickEvent event, boolean useSlot) Get click type from the click eventstatic @NotNull Map<String,
BukkitClickType> Get the available click types
-
Method Details
-
getClickTypeFromEvent
@NotNull public static @NotNull BukkitClickType getClickTypeFromEvent(@NotNull @NotNull org.bukkit.event.inventory.InventoryClickEvent event, boolean useSlot) Get click type from the click event- Parameters:
event
- the eventuseSlot
- will we also the slot- Returns:
- the click type
-
getClickTypeMap
Get the available click types- Returns:
- the unmodifiable map
-