public class CloseableGUI
extends java.lang.Object
implements org.bukkit.inventory.InventoryHolder
Modifier and Type | Field and Description |
---|---|
protected org.bukkit.inventory.Inventory |
inv
|
protected org.bukkit.entity.Player |
plr
|
Constructor and Description |
---|
CloseableGUI(org.bukkit.entity.Player plr)
|
Modifier and Type | Method and Description |
---|---|
static void |
cancel(org.bukkit.plugin.Plugin pl)
|
void |
close()
|
org.bukkit.inventory.Inventory |
getInventory()
|
org.bukkit.entity.Player |
getPlayer()
|
org.bukkit.plugin.Plugin |
getPlugin()
|
protected void |
onClose()
|
protected void |
onForceClose()
|
protected org.bukkit.inventory.Inventory inv
protected org.bukkit.entity.Player plr
public static void cancel(org.bukkit.plugin.Plugin pl)
public final void close()
public org.bukkit.inventory.Inventory getInventory()
getInventory
in interface org.bukkit.inventory.InventoryHolder
public org.bukkit.entity.Player getPlayer()
public org.bukkit.plugin.Plugin getPlugin()
protected void onClose()
protected void onForceClose()