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 Event
Event.Result -
Field Summary
Fields inherited from class EntityEvent
entity -
Constructor Summary
ConstructorsConstructorDescriptionEntityCombustByEntityEvent(@NotNull Entity combuster, @NotNull Entity combustee, float duration) EntityCombustByEntityEvent(@NotNull Entity combuster, @NotNull Entity combustee, int duration) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionGet the entity that caused the combustion event.Methods inherited from class EntityCombustEvent
getDuration, getHandlerList, getHandlers, isCancelled, setCancelled, setDuration, setDurationMethods inherited from class EntityEvent
getEntity, getEntityTypeMethods inherited from class Event
callEvent, getEventName, isAsynchronous
-
Constructor Details
-
EntityCombustByEntityEvent
@Internal @Deprecated(since="1.21", forRemoval=true) public EntityCombustByEntityEvent(@NotNull @NotNull Entity combuster, @NotNull @NotNull Entity combustee, int duration) Deprecated, for removal: This API element is subject to removal in a future version. -
EntityCombustByEntityEvent
-
-
Method Details
-
getCombuster
-