Play Sounds for Players in Minecraft Bedrock
The /playsound command lets you trigger any game sound on demand in Minecraft Bedrock Edition. You can control who hears the sound, where it comes from in the world, how loud it is, and its pitch.
Map makers and server owners often use this command in command blocks to add sound effects to custom events, puzzles, and boss fights. To use it, cheats must be enabled and you need the Game Directors permission level.
/playsound <sound: string> [player: target] [position: x y z] [volume: float] [pitch: float] [minimumVolume: float]Play sound
| Argument | Type | What it means |
|---|---|---|
minimumVolume | float | A `float` that specifies the volume. Between 0.0 and 1.0. Default: `0.0`. |
pitch | float | Optional. A `float` that specifies the pitch. Must bet between 0.0 and 256. Default: `1.0`. |
player | target | Optional. A player name `string` or `target selector` to identify the player. |
position: x y z | position | These optional x, y, and z coordinates set the exact spot in the world where the sound comes from. |
sound | string | Required. A `string` that defines the sound. Should be defined in `sound.definitions.josn`. |
volume | float | Optional. A `float` that specifies the volume. Between 0.0 and 1.0. Below 1.0 diminishes the sound. 0 is inaudible. Default: `1.0`. |
/playsound random.levelupPlays the level-up sound using all default settings.
/playsound mob.enderdragon.growl @aPlays the Ender Dragon growl sound for every player in the world.
/playsound random.explode @p ~ ~ ~Plays an explosion sound for the nearest player right at the current execution position.
/playsound mob.villager.yes Alex 100 64 -200Plays a villager agreement sound for the player named Alex coming from coordinates 100, 64, -200.
/playsound ambient.weather.thunder @r 0 80 0 0.5Plays a thunder sound at half volume from coordinates 0, 80, 0 for one random player.
/playsound note.harp @s ~ ~2 ~ 1.0 2.0Plays a harp note two blocks above the player running the command at full volume and double pitch.
/playsound mob.zombie.say Steve -50 70 120 0.8 0.5 0.2Plays a low-pitched zombie groan for Steve from -50, 70, 120 with a 0.8 volume, 0.5 pitch, and 0.2 minimum volume.
In Minecraft Java Edition, the /playsound command works similarly but uses a different argument order, requiring a sound source category like ambient right after the sound name before you specify the target players and position.
The /playsound command requires cheats to be turned on in your world settings, and you must have the Game Directors permission level to run it.
Both the volume and pitch arguments use 1.0 as their normal default values when you leave them blank.
Valid sound strings are defined inside the game's sound.definitions.josn file.