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, setEntity
public EntityBurnEvent(Entity entity, int fireTicks)
public int fireTicks()
public void setFireTicks(int fireTicks)
public boolean isIgnored()
isIgnored
in interface Cancellable
isIgnored
in class EntityEvent
public void cancel(boolean cancelled)
cancel
in interface Cancellable
cancel
in class EntityEvent
cancelled
- set the cancellation state of the eventCopyright © 2016. All rights reserved.