mojira.dev
MC-181412

Removing a jukebox with a command while it's playing a music disc won't stop playing the music disc

The bug

If a jukebox is playing a disc and destroyed with commands such as /setblock or /fill, then the music will still continue playing.

How to reproduce

  1. Place a jukebox

  2. Put a disc inside

  3. /setblock ~ ~-1 ~ air
    → ❌ Music keeps playing

Linked issues

Attachments

Comments 12

Added repro steps/confirmed

Can confirm for 20w46a.

Can confirm in 21w03a.

Can confirm in 21w06a.

Can confirm in 1.16.5 and 21w08b.

2 more comments

Confirmed in 1.18.1

Can confirm in 1.18.2 and 22w18a.

Can confirm in 1.19.2.

Tom

kingbdogz

Confirmed

Commands, Sound

1.15.2, 20w16a, 20w17a, 20w45a, 20w46a, , 22w24a, 1.19.2, 1.19.3, 23w03a, 23w06a

23w07a

Retrieved