If I'm adding sounds on resource packs where should sound.json go?
-
{ "ak47_shot": { "sounds": [ { "name": "custom/ak47_shot" } ] }, "ak47_reload": { "sounds": [ { "name": "custom/ak47_reload" } ] }, "m79_shot": { "sounds": [ { "name": "custom/m79_shot" } ] }, "m79_reload": { "sounds": [ { "name": "custom/m79_reload" } ] } }
This is my
sound.json
file, and it doesn't work when I use/playsound custom.ak47_shot master @a
I'm not sure there is a problem with sound.json, but I think there is a problem. Anyway, where should I put mysound.json
file? I put it inmyresourcepack/assets/minecraft/sounds.json
right now. There is amyresourcepack/assets/minecraft/sounds
folder too, and I putted my custom sounds in there.
-
Your
sounds.json
file is placed in/assets/minecraft
, which means that your sound would be called upon by the ID ofminecraft:ak47_ahot
.However, it is not recommended to use the
minecraft
namespace for custom sounds. You should rename yourminecraft
folder to something else, for example a suitable name would beguns
.