Class EntityCombustByEntityEvent

All Implemented Interfaces:
Cancellable

public class EntityCombustByEntityEvent extends EntityCombustEvent
Called when an entity causes another entity to combust.
  • Constructor Details Link icon

    • EntityCombustByEntityEvent Link icon

      @Deprecated(since="1.21") public EntityCombustByEntityEvent(@NotNull Entity combuster, @NotNull Entity combustee, int duration)
      Deprecated.
    • EntityCombustByEntityEvent Link icon

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

    • getCombuster Link icon

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