sendParticles
open override fun sendParticles(player: Player, type: Particle, location: Location, amount: Int, offset: Vector, extra: Double, data: Any?)
Sends a particle effect to the player via a packet.
Parameters
player
The target player.
type
The particle type.
location
The location to spawn particles at.
amount
The number of particles.
offset
The spread offset of the particles.
extra
Extra data (e.g. speed).
data
Optional particle data (e.g. DustOptions).