Plays a sound to players at a location.
/playsound <sound> <source> <targets> [pos] [volume] [pitch] [minVolume]
| Name | Required | Description |
|---|---|---|
| sound | Yes | Sound identifier. |
| source | Yes | Sound category (master, music, etc.). |
| targets | Yes | Players to hear the sound. |
/playsound minecraft:entity.arrow.hit master @p ~ ~ ~ 1 1
/stopsound to cancel playback.Available in Java and Bedrock with different sound IDs.