sound

fun sound(builder: SoundBuilder.() -> Unit)

Sends a sound effect to the player.

Parameters

builder

DSL block for configuring the sound.