org.bukkit.event.Cancellable
public class EntityUndisguiseEvent
extends org.bukkit.event.entity.EntityEvent
implements org.bukkit.event.Cancellable
Constructor | Description |
---|---|
EntityUndisguiseEvent(org.bukkit.entity.LivingEntity livingEntity,
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 EntityUndisguiseEvent(org.bukkit.entity.LivingEntity livingEntity, Disguise disguise, boolean undisguiseAll)
public final Disguise getDisguise()
public final boolean undisguiseAll()
public boolean isCancelled()
isCancelled
in interface org.bukkit.event.Cancellable
public void setCancelled(boolean cancel)
setCancelled
in interface org.bukkit.event.Cancellable
public org.bukkit.event.HandlerList getHandlers()
getHandlers
in class org.bukkit.event.Event
public static org.bukkit.event.HandlerList getHandlerList()