Package dev.triumphteam.gui.guis
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
InteractionModifier
s 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 allInteractionModifier
as requiredvoid
onGuiDrag(org.bukkit.event.inventory.InventoryDragEvent event)
Handles any item drag on GUIs, applying allInteractionModifier
as required
-
Constructor Details
-
InteractionModifierListener
public InteractionModifierListener()
-
-
Method Details
-
onGuiClick
public void onGuiClick(org.bukkit.event.inventory.InventoryClickEvent event)Handles any click on GUIs, applying allInteractionModifier
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 allInteractionModifier
as required- Parameters:
event
- The InventoryDragEvent- Since:
- 3.0.0
-