Class ClickTypeUtils

java.lang.Object
me.hsgamer.hscore.bukkit.clicktype.ClickTypeUtils

public final class ClickTypeUtils extends Object
The utility to work with AdvancedClickType
  • 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 event
      useSlot - will we also the slot
      Returns:
      the click type
    • getClickTypeMap

      @NotNull public static @NotNull Map<String,BukkitClickType> getClickTypeMap()
      Get the available click types
      Returns:
      the unmodifiable map