org.bukkit.event.entity
Class EntityCombustByBlockEvent

java.lang.Object
  extended by org.bukkit.event.Event
      extended by org.bukkit.event.entity.EntityEvent
          extended by org.bukkit.event.entity.EntityCombustEvent
              extended by org.bukkit.event.entity.EntityCombustByBlockEvent
All Implemented Interfaces:
Cancellable

public class EntityCombustByBlockEvent
extends EntityCombustEvent

Called when a block causes an entity to combust.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result
 
Field Summary
 
Fields inherited from class org.bukkit.event.entity.EntityEvent
entity
 
Constructor Summary
EntityCombustByBlockEvent(Block combuster, Entity combustee, int duration)
           
 
Method Summary
 Block getCombuster()
          The combuster can be lava or a block that is on fire.
 
Methods inherited from class org.bukkit.event.entity.EntityCombustEvent
getDuration, getHandlerList, getHandlers, isCancelled, setCancelled, setDuration
 
Methods inherited from class org.bukkit.event.entity.EntityEvent
getEntity, getEntityType
 
Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EntityCombustByBlockEvent

public EntityCombustByBlockEvent(Block combuster,
                                 Entity combustee,
                                 int duration)
Method Detail

getCombuster

public Block 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.


Copyright © 2013. All Rights Reserved.