Interface IgniteEntityEvent
-
- All Superinterfaces:
Cancellable
,Event
public interface IgniteEntityEvent extends Event, Cancellable
An event that occurs when an entity becomes ignited.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Entity
entity()
Gets theEntity
.Ticks
fireTicks()
Gets the amount of ticks the entity will remain on fire.Ticks
originalFireTicks()
Gets the original amount of fire ticks the entity will remain on fire.void
setFireTicks(Ticks fireTicks)
Sets the amount of ticks the entity will remain on fire.-
Methods inherited from interface org.spongepowered.api.event.Cancellable
isCancelled, setCancelled
-
-
-
-
Method Detail
-
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
-
-