Bukkit-API  1.7.9-R0.2
The inofficial Bukkit-API
org.bukkit.event.entity.EntityCombustByBlockEvent Class Reference
Inheritance diagram for org.bukkit.event.entity.EntityCombustByBlockEvent:
org.bukkit.event.entity.EntityCombustEvent org.bukkit.event.entity.EntityEvent org.bukkit.event.Cancellable org.bukkit.event.Event

Public Member Functions

 EntityCombustByBlockEvent (final Block combuster, final Entity combustee, final int duration)
 
Block getCombuster ()
 
- Public Member Functions inherited from org.bukkit.event.entity.EntityCombustEvent
 EntityCombustEvent (final Entity combustee, final int duration)
 
boolean isCancelled ()
 
void setCancelled (boolean cancel)
 
int getDuration ()
 
void setDuration (int duration)
 
HandlerList getHandlers ()
 
- Public Member Functions inherited from org.bukkit.event.entity.EntityEvent
 EntityEvent (final Entity what)
 
Entity getEntity ()
 
EntityType getEntityType ()
 
- Public Member Functions inherited from org.bukkit.event.Event
 Event ()
 
 Event (boolean isAsync)
 
String getEventName ()
 
abstract HandlerList getHandlers ()
 
final boolean isAsynchronous ()
 

Additional Inherited Members

- Static Public Member Functions inherited from org.bukkit.event.entity.EntityCombustEvent
static HandlerList getHandlerList ()
 
- Protected Attributes inherited from org.bukkit.event.entity.EntityEvent
Entity entity
 

Detailed Description

Called when a block causes an entity to combust.

Definition at line 9 of file EntityCombustByBlockEvent.java.

Member Function Documentation

Block org.bukkit.event.entity.EntityCombustByBlockEvent.getCombuster ( )

The combuster can be lava or a block that is on fire.

WARNING: block may be null.

Returns
the Block that set the combustee alight.

Definition at line 24 of file EntityCombustByBlockEvent.java.

24  {
25  return combuster;
26  }

The documentation for this class was generated from the following file: