-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
    Commented May 3, 2022 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
    Commented May 3, 2022 at 12:55
  • I put the picture of my resource pack
    – Claypack
    Commented May 3, 2022 at 14:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.