Interface IgniteEntityEvent

All Superinterfaces:
Cancellable, Event

public interface IgniteEntityEvent extends Event, Cancellable
An event that occurs when an entity becomes ignited.
  • Method Details

    • entity

      Entity entity()
      Gets the Entity.
      Returns:
      The entity
    • originalFireTicks

      Ticks originalFireTicks()
      Gets the original amount of fire ticks the entity will remain on fire.
      Returns:
      The original fire ticks
    • fireTicks

      Ticks fireTicks()
      Gets the amount of ticks the entity will remain on fire.
      Returns:
      The amount of ticks the entity will remain on fire
    • setFireTicks

      void setFireTicks(Ticks fireTicks)
      Sets the amount of ticks the entity will remain on fire.
      Parameters:
      fireTicks - The amount of ticks the entity will remain on fire