public class ClientGuiEvent
extends org.bukkit.event.Event
implements org.bukkit.event.Cancellable
| Modifier and Type | Field and Description |
|---|---|
boolean |
cancelled |
String |
guiName |
static org.bukkit.event.HandlerList |
handlers |
BridgePlayer |
player |
boolean |
showText |
| Constructor and Description |
|---|
ClientGuiEvent(String Type,
String GuiName,
BridgePlayer player) |
| Modifier and Type | Method and Description |
|---|---|
String |
getEventType() |
String |
getGuiName()
Returns the name of the GUI that the event occured in.
|
static org.bukkit.event.HandlerList |
getHandlerList() |
org.bukkit.event.HandlerList |
getHandlers() |
BridgePlayer |
getPlayer()
Returns the player that caused this event/
|
boolean |
isCancelled() |
void |
setCancelled(boolean cancel) |
public static final org.bukkit.event.HandlerList handlers
public boolean cancelled
public boolean showText
public String guiName
public BridgePlayer player
public ClientGuiEvent(String Type, String GuiName, BridgePlayer player)
public org.bukkit.event.HandlerList getHandlers()
getHandlers in class org.bukkit.event.Eventpublic static org.bukkit.event.HandlerList getHandlerList()
public boolean isCancelled()
isCancelled in interface org.bukkit.event.Cancellablepublic void setCancelled(boolean cancel)
setCancelled in interface org.bukkit.event.Cancellablepublic String getEventType()
public String getGuiName()
public BridgePlayer getPlayer()