Class InteractionModifierListener

java.lang.Object
dev.triumphteam.gui.guis.InteractionModifierListener
All Implemented Interfaces:
org.bukkit.event.Listener

public final class InteractionModifierListener extends Object implements org.bukkit.event.Listener
Listener that apply default GUI InteractionModifiers to all GUIs
Since:
3.0.0
  • Constructor Details

    • InteractionModifierListener

      public InteractionModifierListener()
  • Method Details

    • onGuiClick

      public void onGuiClick(org.bukkit.event.inventory.InventoryClickEvent event)
      Handles any click on GUIs, applying all InteractionModifier as required
      Parameters:
      event - The InventoryClickEvent
      Since:
      3.0.0
    • onGuiDrag

      public void onGuiDrag(org.bukkit.event.inventory.InventoryDragEvent event)
      Handles any item drag on GUIs, applying all InteractionModifier as required
      Parameters:
      event - The InventoryDragEvent
      Since:
      3.0.0