-1
{
    "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 my sound.json file? I put it in myresourcepack/assets/minecraft/sounds.json right now. There is a myresourcepack/assets/minecraft/sounds folder too, and I putted my custom sounds in there. h

1 Answer 1

1

Your sounds.json file is placed in /assets/minecraft, which means that your sound would be called upon by the ID of minecraft:ak47_ahot.

However, it is not recommended to use the minecraft namespace for custom sounds. You should rename your minecraft folder to something else, for example a suitable name would be guns.

3
  • If I put sounds.json and my sounds in guns folder, would my sound be called upon by the ID of guns:ak47_shot?
    – Claypack
    May 3 at 12:51
  • Also, is my sounds.json file written right? It is not working when I used /playsound guns:ak47_shot master @a
    – Claypack
    May 3 at 12:55
  • I put the picture of my resource pack
    – Claypack
    May 3 at 14:50

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .