sound

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

Accesses the sound builder.

See also

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

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

See also

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

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

See also