mojira.dev
MC-75449

/playsound not working in commandblocks

When I use the command:
/playsound mob.wither.death @a ~ ~ ~ 2 0.1 1
I can hear it fine. But when I put it in a commandblock I can't hear the sound it makes. Now when I power the commandblock I am around 100 blocks away from it so I understand that there must be some sort of range that I can hear the sound from the command. But when I do an execute command:
/execute @a ~ ~ ~ /playsound mob.wither.death @a ~ ~ ~ 2 0.1 1

It still doesn't work. Shouldn't this work?
This is my bug. Sorry if it isn't a bug and I have just made a silly mistake in the command. Thanks 🙂

Comments 5

/execute @a ~ ~ ~ /playsound mob.wither.death @a ~ ~ ~ 2 0.1 1

Try getting rid of the second slash:

/execute @a ~ ~ ~ playsound mob.wither.death @a ~ ~ ~ 2 0.1 1

Hm. I just tried it without the second slash. Didn't seem to fix it :,(

Is this still a concern in the current Minecraft version 1.8.6?

This issue has been resolved for minecraft 1.8.6, this is no longer an issue

Cannot reproduce in 1.8.1

Nick Parsons

(Unassigned)

Unconfirmed

Minecraft 1.8.1

Retrieved