If I run this command:

/playsound ambient.cave master @a ~ ~ ~ 1

It plays a cave sound, but when I run it again, it plays a different cave sound.

On the wiki, it says there are 18 different cave sounds for that one command, so I've tried to do something like this:

/playsound ambient.cave1 master @a ~ ~ ~ 1

But nothing plays.

Is there a way to play a certain cave sound (or any sound value with multiple sounds) every time?

4 Answers 4


According to most sources I could find on the internet, you can not play a specific variation of the sound every time. The sound variation is randomly chosen by the client when the command is executed.


You can, you just have to add a little more to a resource pack. All you have to do is add to your sounds.json


You can have the first text whatever, it is what you use to call the sound.

Now you must find the sound/music you want to play, and describe where it is located in the bolded area.


As @IronAnvil stated, you cant play one of the x sounds defined for cave; it is designated randomly. What you may do is duplicate it in a ressource pack and playing it.


you can try the same as getting different wool colors or different mobs spawns.

it should be something like:

/playsound ambient.cave master @a ~ ~ ~ 1:1


/playsound ambient.cave master @a ~ ~ ~ 1 1

I haven't tried it... I hope it works.

  • the syntax is /playsound (sound) (source) (player) [x] [y] [z] [volume] [pitch] [minimumvolume] so the second one would be pitch. good idea tho Jul 30, 2017 at 22:15
  • 1
    @Tomenos Mauserrio The person who asked the question is correcting your answer. Pointing out why it won't work. Please don't post answers that you are unsure if they work. You posted a guess.
    – IronAnvil
    Jul 31, 2017 at 1:01
  • that can't be 1:1 or 1 1. the first 1 is the volume and the second 1 is the pitch, after it you can put the minimumVolume
    – secret
    Jul 2, 2018 at 6:16

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .