Class EntityCombustByEntityEvent

All Implemented Interfaces:
Cancellable

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

    • EntityCombustByEntityEvent

      @Deprecated public EntityCombustByEntityEvent(@NotNull Entity combuster, @NotNull Entity combustee, int duration)
      Deprecated.
    • EntityCombustByEntityEvent

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

    • getCombuster

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