public abstract class EntityBurnEvent extends EntityEvent
| Constructor and Description |
|---|
EntityBurnEvent(Entity entity,
int fireTicks) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel(boolean cancelled) |
int |
fireTicks()
Gets how long this entity will be on fire for, in ticks
|
boolean |
isIgnored() |
void |
setFireTicks(int fireTicks)
Sets how long this entity will be on fire for, in ticks
|
entity, setEntitypublic EntityBurnEvent(Entity entity, int fireTicks)
public int fireTicks()
public void setFireTicks(int fireTicks)
public boolean isIgnored()
isIgnored in interface CancellableisIgnored in class EntityEventpublic void cancel(boolean cancelled)
cancel in interface Cancellablecancel in class EntityEventcancelled - set the cancellation state of the eventCopyright © 2016. All rights reserved.