3

How do you stop music with command blocks?
For example, when I use command

  /playsound records.far @p ~ ~ ~10 8.0 1.0 1.0

it plays the selected song, in this case far, but how do you stop the music if you want to play another song? Because they both play.

3
  • Playrecords is not a vanilla command, what mods are you using?
    – SirBenet
    Apr 4, 2015 at 18:37
  • No mods it is a command that plays records but sorry the command is /playsound records.far @p ~ ~ ~10 8.0 1.0 1.0 I did not add playsound in my first post I was just making a quick example of my problem
    – mick_5
    Apr 6, 2015 at 21:18
  • That moment when you don't have 10 reputation to make a new post about the 1.9.3 /stopsound command.. D:<
    – Nebula
    May 10, 2016 at 22:16

5 Answers 5

2

There is currently no way to pause, or stop a sound file that is playing. That is, you will have to wait for that particular file to be played till its very end. Only then will the two files not merge.

Sometimes, changing gamemode from creative to survival also stops the sound, though I am not completely sure of it.

2

I saw this on a youtube video here:

Basically you just have to play 45 sounds at once then you'll notice that all other sounds will be canceled out but you'll have to make a blank/custom sound in a resource pack or play like 45 chicken noises at once would work. You'd have to do this with command blocks though but it'd be pretty easy to make a plugin do this if you know how.

1
  • Video in answer is dead.
    – pppery
    Aug 2, 2019 at 15:55
2

This is an old post but now there is a /stopsound command

1
  • To be more precise, it may be: /stopsound PlayerName
    – Artfaith
    Apr 1 at 0:26
-2

Without the use of teleporting to a different location, this is not possible.

2
  • What has teleporting got to do with this problem? May 9, 2015 at 4:02
  • As in teleporting away from the sound
    – 132ikl
    May 9, 2015 at 4:05
-3

Just change your Music-Block Sound to 0% and then turn it on again.

1
  • This does not work, the sound does not stop when you turn off your volume. It resumes normally when you turn it on again.
    – MrLemon
    Jun 28, 2015 at 12:37

You must log in to answer this question.

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