org.bukkit.event.Cancellable
public class UndisguiseEvent
extends org.bukkit.event.player.PlayerEvent
implements org.bukkit.event.Cancellable
Constructor | Description |
---|---|
UndisguiseEvent(org.bukkit.entity.Player player,
Disguise disguise,
boolean undisguiseAll) |
Modifier and Type | Method | Description |
---|---|---|
Disguise |
getDisguise() |
Returns the disguise.
|
static org.bukkit.event.HandlerList |
getHandlerList() |
|
org.bukkit.event.HandlerList |
getHandlers() |
|
boolean |
isCancelled() |
Checks whether this event is cancelled.
|
void |
setCancelled(boolean cancel) |
Sets whether this event is cancelled.
|
boolean |
undisguiseAll() |
Indicates whether this event is part of a '/undisguise *' command.
|
public UndisguiseEvent(org.bukkit.entity.Player player, Disguise disguise, boolean undisguiseAll)
public final Disguise getDisguise()
public final boolean undisguiseAll()
true
, if and only if this event is part of a '/undisguise *' commandpublic boolean isCancelled()
isCancelled
in interface org.bukkit.event.Cancellable
true
, if and only if this event is cancelledpublic void setCancelled(boolean cancel)
setCancelled
in interface org.bukkit.event.Cancellable
cancel
- true
if this event shall be cancelledpublic org.bukkit.event.HandlerList getHandlers()
getHandlers
in class org.bukkit.event.Event
public static org.bukkit.event.HandlerList getHandlerList()