public final class GuiListener extends Object implements org.bukkit.event.Listener
| Constructor and Description |
|---|
GuiListener(org.bukkit.plugin.Plugin plugin) |
| Modifier and Type | Method and Description |
|---|---|
void |
onGuiCLick(org.bukkit.event.inventory.InventoryClickEvent event)
Handles what happens when a player clicks on the GUI
|
void |
onGuiClose(org.bukkit.event.inventory.InventoryCloseEvent event)
Handles what happens when the GUI is closed
|
void |
onGuiDrag(org.bukkit.event.inventory.InventoryDragEvent event)
Handles what happens when a player clicks on the GUI
|
void |
onGuiOpen(org.bukkit.event.inventory.InventoryOpenEvent event)
Handles what happens when the GUI is opened
|
public void onGuiCLick(org.bukkit.event.inventory.InventoryClickEvent event)
event - The InventoryClickEventpublic void onGuiDrag(org.bukkit.event.inventory.InventoryDragEvent event)
event - The InventoryClickEventpublic void onGuiClose(org.bukkit.event.inventory.InventoryCloseEvent event)
event - The InventoryCloseEventpublic void onGuiOpen(org.bukkit.event.inventory.InventoryOpenEvent event)
event - The InventoryOpenEventCopyright © 2020. All rights reserved.