Package org.bukkit.event.entity
Class EntityCombustByBlockEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.entity.EntityEvent
org.bukkit.event.entity.EntityCombustEvent
org.bukkit.event.entity.EntityCombustByBlockEvent
- All Implemented Interfaces:
- Cancellable
Called when a block causes an entity to combust.
- 
Nested Class SummaryNested classes/interfaces inherited from class org.bukkit.event.EventEvent.Result
- 
Field SummaryFields inherited from class org.bukkit.event.entity.EntityEvententity
- 
Constructor SummaryConstructorsConstructorDescriptionEntityCombustByBlockEvent(Block combuster, Entity combustee, float duration) EntityCombustByBlockEvent(Block combuster, Entity combustee, int duration) Deprecated.
- 
Method SummaryModifier and TypeMethodDescriptionThe combuster can be lava or a block that is on fire.Methods inherited from class org.bukkit.event.entity.EntityCombustEventgetDuration, getHandlerList, getHandlers, isCancelled, setCancelled, setDuration, setDurationMethods inherited from class org.bukkit.event.entity.EntityEventgetEntity, getEntityTypeMethods inherited from class org.bukkit.event.EventgetEventName, isAsynchronous
- 
Constructor Details- 
EntityCombustByBlockEvent@Deprecated(since="1.21") public EntityCombustByBlockEvent(@Nullable Block combuster, @NotNull Entity combustee, int duration) Deprecated.
- 
EntityCombustByBlockEvent
 
- 
- 
Method Details- 
getCombusterThe combuster can be lava or a block that is on fire.WARNING: block may be null. - Returns:
- the Block that set the combustee alight.
 
 
-