← Back to Command Directory ← Back to Home

/playsound

Plays a sound to players at a location.

Syntax

/playsound <sound> <source> <targets> [pos] [volume] [pitch] [minVolume]

Parameters

NameRequiredDescription
soundYesSound identifier.
sourceYesSound category (master, music, etc.).
targetsYesPlayers to hear the sound.

Examples

/playsound minecraft:entity.arrow.hit master @p ~ ~ ~ 1 1

Notes

Version Differences

Available in Java and Bedrock with different sound IDs.

Related Commands