mojira.dev
MC-44276

Minecraft 1.7 custom sounds don't work?

When using the new feature of adding custom sounds to minecraft using the .json file and new folders it does not work.

Here is the json code: http://pastebin.com/Y8uctmdb

Comments 8

What folder in the resource pack are you placing the .json and the sound files? Custom sounds definitely do work.

The sounds are in the sounds folder and .json are in assets. the horns work but the others don't

Well there you go...

JSON belongs in: .\assets\minecraft\ Sounds belong in .\assets\minecraft\sounds\ <---Note sounds with an S on the end, not sound like in 1.6

Oh and as a side note check your development console for errors regarding to the sounds.json if you are having problems it will tell you what line/char.

it says
[16:42:00 INFO]: Client> [16:42:00] [Client thread/WARN]: Unable to play unknown soundEvent: mine craft:monorail.mk

What you are looking for is something like this:

[12:20:39] [Client thread/WARN]: Invalid sounds.json
com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Expected ':' at line 6 column 40

This tells you, in this case, that there is an error on line 6 column 40 so you can go in and fix it.

Anything beyond this you need to review tutorials or seek help from the Mojang Support Center.

^^^ Im having the same problem as Jacob. For some reason, the sounds.json file is correct, the game just refuses to play the sound. This is what it says in my console:
[10:39:36 INFO]: Client> [10:39:36] [Server thread/INFO]: [XTheUnwanted1: Played sound 'intruderalert' to XTheUnwanted1]
[10:39:37 INFO]: Client> [10:39:37] [Client thread/WARN]: Unable to play unknown soundEvent: minecraft:intruderalert
[10:39:37 INFO]: Client> [10:39:37] [Client thread/INFO]: [CHAT] Played sound 'intruderalert' to XTheUnwanted1

Jacob Goldberger

(Unassigned)

Unconfirmed

music

Minecraft 1.7.4

Retrieved