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
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
ConstructorDescriptionEntityCombustByEntityEvent
(Entity combuster, Entity combustee, int duration) -
Method Summary
Modifier and TypeMethodDescriptionGet 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
-
Constructor Details
-
EntityCombustByEntityEvent
-
-
Method Details
-
getCombuster
Get the entity that caused the combustion event.- Returns:
- the Entity that set the combustee alight.
-