public class ItemMenuListener extends Object implements org.bukkit.event.Listener
| Constructor and Description |
|---|
ItemMenuListener() |
| Modifier and Type | Method and Description |
|---|---|
static void |
closeOpenMenus() |
static ItemMenuListener |
getInstance() |
boolean |
isRegistered(org.bukkit.plugin.java.JavaPlugin plugin) |
void |
onInventoryClick(org.bukkit.event.inventory.InventoryClickEvent event) |
void |
onInventoryClose(org.bukkit.event.inventory.InventoryCloseEvent event) |
void |
onInventoryClose(org.bukkit.event.inventory.InventoryCreativeEvent event) |
void |
onPluginDisable(org.bukkit.event.server.PluginDisableEvent event) |
void |
register(org.bukkit.plugin.java.JavaPlugin plugin) |
public static ItemMenuListener getInstance()
public static void closeOpenMenus()
public void register(org.bukkit.plugin.java.JavaPlugin plugin)
public boolean isRegistered(org.bukkit.plugin.java.JavaPlugin plugin)
public void onInventoryClick(org.bukkit.event.inventory.InventoryClickEvent event)
public void onInventoryClose(org.bukkit.event.inventory.InventoryCloseEvent event)
public void onInventoryClose(org.bukkit.event.inventory.InventoryCreativeEvent event)
public void onPluginDisable(org.bukkit.event.server.PluginDisableEvent event)
Copyright © 2021. All rights reserved.