mojira.dev
MC-91102

/playsound plays no sound -- WAI due to sound name change

When I ran a playsound command (both in chat and in a command block) on this snapshot, it made no noise. However, ingame sounds still worked fine. Then, when I switched back to 15w42a, it did make a noise once I ran the same command.

Command to reproduce:

/playsound note.harp @p

EDIT: @unknown discovered that some sounds still work when run by a playsound command. For instance:

/playsound record.cat @p

This command (at least in 15w43b) will play the correct sound, and this may be caused by it not having any subtitle whereas other sounds do.

EDIT 2: @unknown and @unknown made me realize that this isn't a bug - it's an intended feature. Grum had to modify a lot of the sound file names to distinguish different sounds for subtitles, which ended up breaking some playsound commands we all were used to. We just need to adjust to the new sound names, found in the attatched sounds.json file (thanks to whoever attatched it!).

Linked issues

MC-91131 /playsound Doesn't Work At All Resolved MC-91141 about /playsound failure Resolved MC-91167 /playsound random.levelup @a doesn't work anymore Resolved MC-91174 Sounds and armor Resolved MC-91197 /playsound not playing sounds Resolved

Attachments

Comments 23

Can confirm.

Confirmed for 15w43b.

Maybe it's related to subtitles? The reason I think it's related is because, if you play a sound that does not have a subtitle attributed to it, it will play normally. Example: /playsound record.cat @p

To @unknown: Yes, that command worked for me - subtitles are probably the cause of the bug. Good find!

Thanks! Hope it helps in the resolution of the problem ๐Ÿ˜ƒ

13 more comments
SnipUndercover

Thank you so much! For the users that use Google Chrome as a internet browser, to find the correct sound, preff Ctrl+F and type the name of the sound to find it

Jason C. McDonald

I created a Minecraft book containing all of the sound events, for quick reference. The command to give it is at http://pastebin.com/bfdRrsBg

ร‰tienne B.

Sad enough, loads of Minecraft maps using playsounds will be broken... We'll need to load an older Minecraft version to fix it...

or they need to update their maps ๐Ÿ˜‰

updated the attached sounds.json to contain the full 1.9 update (a few fixes and additions were made in the snapshots/pre-releases and I just updated this one)

Evtema3

(Unassigned)

Community Consensus

Minecraft 15w43a, Minecraft 15w43b, Minecraft 15w43c

Retrieved