public class EntityEvent extends Event implements Cancellable
| Constructor and Description |
|---|
EntityEvent(Entity entity) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel(boolean cancelled) |
Entity |
entity() |
boolean |
isIgnored() |
protected void |
setEntity(Entity entity)
set the entity associated with this event
|
public EntityEvent(Entity entity)
public boolean isIgnored()
isIgnored in interface Cancellablepublic void cancel(boolean cancelled)
cancel in interface Cancellablecancelled - set the cancellation state of the eventCopyright © 2016. All rights reserved.