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
is duplicated by 27
Attachments
Comments 23
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!
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
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
Sad enough, loads of Minecraft maps using playsounds will be broken... We'll need to load an older Minecraft version to fix it...
Can confirm.