org.bukkit.event.entity
Class EntityCombustByEntityEvent

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.EntityCombustByEntityEvent
All Implemented Interfaces:
Cancellable

public class EntityCombustByEntityEvent
extends EntityCombustEvent

Called when an entity causes another 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
EntityCombustByEntityEvent(Entity combuster, Entity combustee, int duration)
           
 
Method Summary
 Entity getCombuster()
          Get the entity that caused the combustion event.
 
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

EntityCombustByEntityEvent

public EntityCombustByEntityEvent(Entity combuster,
                                  Entity combustee,
                                  int duration)
Method Detail

getCombuster

public Entity getCombuster()
Get the entity that caused the combustion event.

Returns:
the Entity that set the combustee alight.


Copyright © 2014. All rights reserved.