Class EntityCombustByEntityEvent

All Implemented Interfaces:
Cancellable

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

    • EntityCombustByEntityEvent

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

    • getCombuster

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