2

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.

  • Playrecords is not a vanilla command, what mods are you using? – SirBenet Apr 4 '15 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 '15 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:< – Florrie May 10 '16 at 22:16
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.

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

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

-2

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

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

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

  • 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 '15 at 12:37

Not the answer you're looking for? Browse other questions tagged or ask your own question.