Class EntityCombustByEntityEvent

  • All Implemented Interfaces:
    Cancellable

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

      • EntityCombustByEntityEvent

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

      • getCombuster

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