quantity

@Contract(value = "_ -> this", mutates = "this")
abstract fun quantity(quantity: Int): B

Sets the number of particles to be spawned by the particle effect.

The quantity must be between 1 and 16384, inclusively.

Return

this builder

Parameters

quantity

the quantity

Throws

if the quantity is < 1