isDead

fun isDead(): Boolean

Checks whether the entity is dead. This is a fairly loose term, dead for a particle could mean it has faded, while dead for an entity means it has no health.

Return

whether an entity is dead

Sources

Link copied to clipboard