Control and Play Music Tracks in Bedrock
The /music command in Minecraft Bedrock Edition lets you control the music tracks playing in your world. With it, you can start a specific track right away, add a track to the queue, change the volume, or stop the music completely.
Map makers and server hosts use this command to set the mood for custom adventures, boss battles, or mini-games. Note that you need the Game Directors permission level and cheats enabled in your world to run it.
/music queue <trackName: string> [volume: float] [fadeSeconds: float] [repeatMode: MusicRepeatMode]Queue track
/music play <trackName: string> [volume: float] [fadeSeconds: float] [repeatMode: MusicRepeatMode]Play track
/music stop [fadeSeconds: float]Stop music
/music volume <volume: float>Adjust volume
| Argument | Type | What it means |
|---|---|---|
fadeSeconds | float | A `float` number that specifies the duration the track fades in or out. |
repeatMode | MusicRepeatMode | Optional. An `enum` that specifies how the music is played. Must be `play_once` (default) or `loop`. |
trackName | string | Required. A `string` to specify the track to play. Must be a single word such as `record.cat`. |
volume | float | A `float` number to specify the volume of the music track. |
/music play record.catImmediately starts playing the cat music disc track using default settings.
/music queue record.blocksAdds the blocks track to the queue so it plays after the current music ends.
/music stopStops any playing music immediately without a fade effect.
/music stop 5Stops the current music by fading it out smoothly over 5 seconds.
/music volume 0.5Adjusts the music volume to a half-level value of 0.5.
/music play record.chirp 0.8 3 loopPlays the chirp track at 0.8 volume with a 3-second fade-in and sets it to loop continuously.
/music queue record.far 0.6 2 play_onceQueues the far track at 0.6 volume with a 2-second fade-in to play just one time.
/music play record.mall 0.4 4Plays the mall track at 0.4 volume with a 4-second fade-in using the default single-play mode.
Minecraft Java Edition does not have a /music command, as this feature is exclusive to Bedrock Edition.
When using the play or queue form, fill in the volume and fadeSeconds values, then add loop at the very end for the repeatMode argument.
You must have cheats turned on in your world settings and have the Game Directors permission level to use this command.
The play option starts the new track right away, while queue waits for the current track to finish before starting the next one.