Jump to content

Recommended Posts

Posted

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:

81mdlHG.png

 

I'm 100% sure that my sounds are in the .ogg format.

Kain

Posted

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.