mojira.dev
MC-73727

Command block plays a sound twice if powered by a trapped chest

When powering a commandblock with a trapped chest, /playsound will sometimes play the sound when closing the chest as well as when opening the chest.

It also sounds like when you power it with - for instance - a lever, the sound plays twice simultaneously.

To illustrate, here is a video. I was able to reproduce this several times with the setup I show in the video. (CommandBlock output was disabled).

https://www.youtube.com/watch?v=p5DA3dq1TU8

Related issues

Comments

Sonicwave

The trapped chest part is a duplicate of MC-35714 (since you are exiting a screen/GUI, it also occurs if you cause a sound to play, open inventory/chat, and close the GUI).
Not sure about the lever part though.

migrated

How do you know this is a duplicate? Is it this same bug?

Also: I mention the sound plays twice simultaneously when powered by a regular source.

kumasasa

Please provide the exact command you've used.
If it plays twice with a lever, then it's not a trapped chest issue.

migrated

I made a video of under a minute, it probably takes less time to get if from the video than to ask me for the commands..

Though since you asked:

/playsound random.pop @a

It sounds like it's playing twice (because it sounds different), but I'm not sure.

kumasasa

Caused by MC-35714

migrated

(Unassigned)

Unconfirmed

Minecraft 1.8

Retrieved