I have the following sounds.json file in my mod's src/main/resources/assets/minecraft directory:
{
"entity.endermen.stare": {
"replace": true,
"sounds": ["btweagles:beejdrop"]
},
"entity.endermen.scream": {
"replace": true,
"sounds": ["btweagles:beejdrop"]
}
}
As I understand it, every mod is also a resource pack, and according to the official wiki, "unlike most other files in resource packs, sounds.json will merge sound information from packs below the top pack, rather than each sounds.json file overriding the previous completely." Given that, I would expect that only the two SoundEvents I have listed would be replaced, and all other vanilla sounds would be unaffected.
However, this does not appear to be the case. Instead, I'm met with a litany of warnings when Minecraft starts up:
[main/WARN]: Missing sound for event: minecraft:ambient.cave
[main/WARN]: Missing sound for event: minecraft:block.anvil.break
[main/WARN]: Missing sound for event: minecraft:block.anvil.destroy
[main/WARN]: Missing sound for event: minecraft:block.anvil.fall
[main/WARN]: Missing sound for event: minecraft:block.anvil.hit
[main/WARN]: Missing sound for event: minecraft:block.anvil.land
[main/WARN]: Missing sound for event: minecraft:block.anvil.place
[main/WARN]: Missing sound for event: minecraft:block.anvil.step
...
And indeed no sounds play except for those I've explicitly defined in my sounds.json file.
Does this mean I have to replicate the entire vanilla sounds.json in order to replace just a few sound files, or is there a more modder-friendly way to do it?