Class EntityCombustByEntityEvent

All Implemented Interfaces:
Cancellable

public class EntityCombustByEntityEvent extends EntityCombustEvent
Called when an entity causes another entity to combust.
  • 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

      @Internal public EntityCombustByEntityEvent(@NotNull @NotNull Entity combuster, @NotNull @NotNull Entity combustee, float duration)
  • Method Details

    • getCombuster

      @NotNull public @NotNull Entity getCombuster()
      Get the entity that caused the combustion event.
      Returns:
      the Entity that set the combustee alight.