Package org.bukkit.event.entity
Class EntityCombustByEntityEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.entity.EntityEvent
org.bukkit.event.entity.EntityCombustEvent
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
-
Field Summary
-
Constructor Summary
Constructors Constructor Description EntityCombustByEntityEvent(Entity combuster, Entity combustee, int duration)
-
Method Summary
Modifier and Type Method Description 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
-
Constructor Details
-
Method Details
-
getCombuster
Get the entity that caused the combustion event.- Returns:
- the Entity that set the combustee alight.
-