public interface Flammable extends EntityComponent
| Modifier and Type | Method and Description |
|---|---|
int |
getIgnitedDuration()
Gets the duration (in ticks) before the entity is extinguished.
|
default boolean |
isIgnited() |
void |
setIgnitedDuration(int ticks)
Sets the duration (in ticks) before the entity is extinguished.
|
default boolean isIgnited()
@Nonnegative int getIgnitedDuration()
void setIgnitedDuration(@Nonnegative int ticks)
ticks - ticksCopyright © 2017–2019 NukkitX. All rights reserved.