mojira.dev
MC-79414

/playsound not working ?

So i wanted to make an custom map with some sounds in it, now when i press the button on the command block there is no sound, also when i put it in the chat there is no sound and it says player can't be found

in command block:

/playsound custom.Annabelle's Music Box @p ~ ~ ~ 1.0 1.0 1.0

Linked issues

Comments 13

Sorry what does WAI means ? ;d

WAI is an acronym for "Works as Intended".

Oh, Well I got a little bit closer to let it work i think. It now says played music to jordywiering(me) but there is no sound.

Hope someone could help me becouse i really want to finish this map.

3 more comments

Just remove the "category: music" tag, then it works.

I will make a video for you to see whats going on,

this is my json file now:

{
"custom.fare": {
"sounds": [
{
"name": "custom/fare",
"stream": true
}]
}}

For me, the following sounds.json works:

{
    "custom.fare":
    {
        "sounds":
        [
            {
                "name": "custom/fare",
                "stream": true
            }
        ]
    }
}

Make sure that your sounds.json is located at assets/minecraft/sounds.json and that your fare.ogg is located at assets/minecraft/sounds/custom/fare.ogg. Finally make sure that you have selected your resourcepack. If you already have, press F3+S ingame, which reloads all resources, including sounds. Now try again.

Ahh thanks man, i found out that i placed the customs map at the wrong place.

Thanks alot !

jordy wiering

(Unassigned)

Unconfirmed

Minecraft 1.8.3

Retrieved