sound

Accesses the sound builder.

See also

KSpigotSound
Link copied to clipboard

fun sound(sound: Sound, builder: KSpigotSound.() -> Unit): KSpigotSound

Accesses the sound builder and then immediately plays the sound at the given location.

See also

KSpigotSound
Link copied to clipboard

fun Location.sound(sound: Sound, builder: KSpigotSound.() -> Unit?)

Accesses the sound builder and then immediately plays the sound for the player.

See also

KSpigotSound
Link copied to clipboard

fun Player.sound(sound: Sound, builder: KSpigotSound.() -> Unit?)