EntityCombustByEntityEvent

Called when an entity causes another entity to combust.

Constructors

Link copied to clipboard
public void EntityCombustByEntityEvent(Entity combuster, Entity combustee, int duration)

Properties

Link copied to clipboard
public final Entity combuster
Link copied to clipboard
public int duration
Link copied to clipboard
public final static HandlerList handlers

Functions

Link copied to clipboard
Get the entity that caused the combustion event.
Link copied to clipboard
public int getDuration()
Link copied to clipboard
public Entity getEntity()
Returns the Entity involved in this event
Link copied to clipboard
Gets the EntityType of the Entity involved in this event.
Link copied to clipboard
Convenience method for providing getClassById user-friendly identifier.
Link copied to clipboard
public static HandlerList getHandlerList()
Link copied to clipboard
Link copied to clipboard
public final boolean isAsynchronous()
Any custom event that should not by synchronized with other events must use the specific constructor.
Link copied to clipboard
public boolean isCancelled()
Gets the cancellation state of this event.
Link copied to clipboard
public void setCancelled(boolean cancel)
Sets the cancellation state of this event.
Link copied to clipboard
public void setDuration(int duration)
The number of seconds the combustee should be alight for.