Package dev.triumphteam.gui.guis
Class GuiListener
java.lang.Object
dev.triumphteam.gui.guis.GuiListener
- All Implemented Interfaces:
org.bukkit.event.Listener
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonGuiClick(org.bukkit.event.inventory.InventoryClickEvent event) Handles what happens when a player clicks on the GUIvoidonGuiClose(org.bukkit.event.inventory.InventoryCloseEvent event) Handles what happens when the GUI is closedvoidonGuiDrag(org.bukkit.event.inventory.InventoryDragEvent event) Handles what happens when a player clicks on the GUIvoidonGuiOpen(org.bukkit.event.inventory.InventoryOpenEvent event) Handles what happens when the GUI is opened
-
Constructor Details
-
GuiListener
public GuiListener()
-
-
Method Details
-
onGuiClick
public void onGuiClick(org.bukkit.event.inventory.InventoryClickEvent event) Handles what happens when a player clicks on the GUI- Parameters:
event- The InventoryClickEvent
-
onGuiDrag
public void onGuiDrag(org.bukkit.event.inventory.InventoryDragEvent event) Handles what happens when a player clicks on the GUI- Parameters:
event- The InventoryClickEvent
-
onGuiClose
public void onGuiClose(org.bukkit.event.inventory.InventoryCloseEvent event) Handles what happens when the GUI is closed- Parameters:
event- The InventoryCloseEvent
-
onGuiOpen
public void onGuiOpen(org.bukkit.event.inventory.InventoryOpenEvent event) Handles what happens when the GUI is opened- Parameters:
event- The InventoryOpenEvent
-