Posted March 16, 201411 yr Ok, I've got my entity hooked up with a hurt sound like this: protected String getHurtSound() { return ReferenceRF.RES_PRE + "mob.mummy.hurt"; } And whenever I hit my entity, this pops up in the console: [19:55:49] [Client thread/WARN]: Unable to play empty soundEvent: realmoffera:mob.mummy.hurt Here's what my json looks like: { "mob.mummy.say": { "category": "hostile", "sounds": [{ "name": "mob/mummy/say", "stream": false }] }, "mob.mummy.death": { "category": "hostile", "sounds": [{ "name": "mob/mummy/death", "stream": false }] }, "mob.mummy.hurt": { "category": "hostile", "sounds": [{ "name": "mob/mummy/hurt", "stream": false }] } } Finally here's my file tree: I'm 100% sure that my sounds are in the .ogg format. Kain
March 21, 201411 yr What was the solution? I have an almost identical issue. I'm using latest Forge (.1047) and am getting an "unable to play soundEvent" error. I have assets folder path that I have double checked (and yes it uses the plural "sounds" not "sound"). My sounds.json is pretty much just copied from the wolf portion of the vanilla sounds.json and the sounds themselves are copied from wolf as well so are valid .ogg files. (I'll change to my own later, just using wolf to debug this issue). So what was solution in your case? Thanks! Check out my tutorials here: http://jabelarminecraft.blogspot.com/
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.