Interface IgniteEntityEvent
- All Superinterfaces:
Cancellable
,Event
An event that occurs when an entity becomes ignited.
-
Method Summary
Modifier and TypeMethodDescriptionentity()
Gets theEntity
.Gets the amount of ticks the entity will remain on fire.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 Details
-
entity
Entity entity()Gets theEntity
.- 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
Sets the amount of ticks the entity will remain on fire.- Parameters:
fireTicks
- The amount of ticks the entity will remain on fire
-