org.bukkit.event.Cancellable
public class EntityDisguiseEvent
extends org.bukkit.event.entity.EntityEvent
implements org.bukkit.event.Cancellable
Constructor | Description |
---|---|
EntityDisguiseEvent(org.bukkit.entity.LivingEntity livingEntity,
Disguise disguise) |
Modifier and Type | Method | Description |
---|---|---|
Disguise |
getDisguise() |
Returns a copy of 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.
|
public EntityDisguiseEvent(org.bukkit.entity.LivingEntity livingEntity, Disguise disguise)
public final Disguise getDisguise()
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()