Package net.axay.kspigot.particles

Types

KSpigotParticle
Link copied to clipboard
data class KSpigotParticle(particle: Particle, amount: Int, offset: Vector?, extra: Number, data: Any?, force: Boolean)

Functions

particle
Link copied to clipboard

Accesses the particle builder.

fun particle(particle: Particle, builder: KSpigotParticle.() -> Unit): KSpigotParticle

Accesses the particle builder and then immediately spawns the particle at the given location.

fun Location.particle(particle: Particle, builder: KSpigotParticle.() -> Unit)

Accesses the particle builder and then immediately spawns the particle for the player.

fun Player.particle(particle: Particle, builder: KSpigotParticle.() -> Unit)