mojira.dev
MC-99793

"replace" property in sounds.json for resource packs is ignored

In response to bug MC-48826, I don't see this being fixed yet. I do not believe that this is resolved at all.

I am trying to make it so that all mobs use the same damage sound. I pretty sure that I'm doing this right, since there are no errors in the launcher log at all. Here's my text:

{
  "mob.zombie.hurt": {
    "category": "hostile",
    "replace": true,
    "sounds": [
      "mob/damage"
    ]
  }
}

I DO have a "damage.ogg" file in the "mob" folder of the sound directory of my resource pack, yet it still doesn't play when I hit the zombie. Is this bug still present, or am I doing something wrong?

Extra Information:
I know that my "sounds.json" file is in the correct place, working, because when I use it to add a NEW sound that I don't need to replace an old one with, it works fine.

Comments 5

1. Sound event names have changed in 1.9, it's n0w entity.zombie.hurt (go look them up)
2. Works fine for me

But it didn't work with "entity.player.death" or "entity.player.hurt" either.

this works fine for me:

,
  "entity.player.hurt": {
  "category": "player",
  "replace": true,
    "sounds": [
      {
        "name": "Meda/StopSound",
        "stream": false
      }
    ]
  }

perhaps I can find the issue if you attach your sounds.json

Is there a way that I can just get the default sounds.json file and edit off of that? :/

And I need the latest 1.9 version of it, so that I can get all the updated versions of the sounds.

wasawsawdawfwegf qwef we

(Unassigned)

Unconfirmed

Minecraft 1.9.1 Pre-Release 3

Retrieved