mojira.dev
MC-79823

Custom sounds from resource packs cannot be played relative at an entity with /playsound

  • When you have a resource pack with a custom sound in it, you can play it with /playsound [trackname] @a

  • Place down an entity, for example, an Armor Stand, and use:
    /execute @e[type=ArmorStand] ~ ~ ~ /playsound [trackname] @a

  • When you do this, it will play the sound at the player instead of the Armor Stand. However, when using a sound that is in the game by default (for example random.explode) it will work and execute that sound at that entity.


To easily test this out and not having to make your own resource pack, here is the download link for the resourcepack I used when I discovered this bug.

The sound is called spacemountain.music, so the command would look like this (when executing it at an Armor Stand, can be any entity):
/execute @e[type=ArmorStand] ~ ~ ~ /playsound spacemountain.music @a

Attachments

Comments 5

Attached the resource pack as file

Thanks, totally forgot that was possible. Were you able to reproduce or not? Please let me know.

  • Semx

Is this still an issue in the current Minecraft Snapshot 15w49b or later? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.

This bug no longer occurs in 15w49b, I have not tried any releases in-between 1.8.4 and 15w49b. Thank you for reminding that this bug was still open, requesting Resolution to be set as Fixed.

Fixed somewhere between 1.8.4 and 15w49b.

Semx11

(Unassigned)

Unconfirmed

Minecraft 1.8.3, Minecraft 1.8.4

Minecraft 15w49b

Retrieved