setMaxAge

fun setMaxAge(maxAge: Int): Particle

Sets the amount of ticks this particle will live for

Parameters

maxAge

the particle's max age (in ticks)

Sources

Link copied to clipboard