Class InteractionModifierListener

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

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

    Constructors 
    Constructor Description
    InteractionModifierListener()  
  • Method Summary

    Modifier and Type Method Description
    void onGuiClick​(org.bukkit.event.inventory.InventoryClickEvent event)
    Handles any click on GUIs, applying all InteractionModifier as required
    void onGuiDrag​(org.bukkit.event.inventory.InventoryDragEvent event)
    Handles any item drag on GUIs, applying all InteractionModifier as required

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • 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