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
(@NotNull Entity combuster, @NotNull Entity combustee, float duration) EntityCombustByEntityEvent
(@NotNull Entity combuster, @NotNull Entity combustee, int duration) Deprecated. -
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, setDuration
Methods inherited from class org.bukkit.event.entity.EntityEvent
getEntity, getEntityType
Methods inherited from class org.bukkit.event.Event
callEvent, getEventName, isAsynchronous
-
Constructor Details
-
Method Details
-
getCombuster
Get the entity that caused the combustion event.- Returns:
- the Entity that set the combustee alight.
-