[MC-10436] Jukeboxes stop playing after relogging/reloading world Created: 27/Feb/13  Updated: 19/Oct/24  Resolved: 12/Oct/21

Status: Resolved
Project: Minecraft: Java Edition
Component/s: None
Affects Version/s: Snapshot 13w09b, Minecraft 1.5, Minecraft 1.5.2, Snapshot 13w19a, Snapshot 13w24b, Snapshot 13w25a, Snapshot 13w25b, Snapshot 13w25c, Minecraft 1.6, Minecraft 1.6.1, Minecraft 1.6.2, Minecraft 13w37a, Minecraft 13w37b, Minecraft 1.7, Minecraft 1.7.1, Minecraft 1.7.4, Minecraft 14w04b, Minecraft 1.7.5, Minecraft 14w11b, Minecraft 1.7.6-pre1, Minecraft 1.7.6-pre2, Minecraft 1.13.2, Minecraft 18w48a, Minecraft 18w48b, Minecraft 18w49a, Minecraft 18w50a, Minecraft 19w02a, Minecraft 19w03a, 1.14.4, 19w34a, 19w35a, 1.15.2, 20w20b, 1.16.1, 20w28a, 1.16.2 Pre-release 1, 1.16.2, 1.16.3 Release Candidate 1, 1.16.3, 1.16.4, 20w46a, 20w51a, 21w03a, 1.16.5, 21w05b, 21w06a, 21w07a, 21w11a, 21w15a, 21w17a, 1.17, 1.17.1
Fix Version/s: None

Type: Bug
Reporter: WolfieMario Assignee: Unassigned
Resolution: Won't Fix Votes: 11
Labels: None

Attachments: File MC-10436.mp4     PNG File MC-10436.png    
Issue Links:
Duplicate
is duplicated by MC-33293 Note blocks not continuing on relog Resolved
is duplicated by MC-175861 Jukebox stops playing when the chunk ... Resolved
is duplicated by MC-221361 A disc is playing and a player just j... Resolved
is duplicated by MC-237802 Interrupted music (music disc) when q... Resolved
is duplicated by MC-261251 Jukeboxes stop playing music/dont int... Resolved
is duplicated by MC-263112 Jukebox music bug Resolved
is duplicated by MC-273637 Jukebox music stops playing after res... Resolved
is duplicated by MC-274359 JukeBox no sound when rejoining world Resolved
is duplicated by MC-276829 Jukebox stops making music when unloa... Resolved
Relates
relates to MC-253152 If you reload a world while a Jukebox... Open
relates to MC-263015 Jukebox playing music without music a... Open
relates to MCPE-180268 When you open a world, simulation beg... Open
relates to MCPE-58151 Repeaters Don't Save Pending Tick Inf... Reopened
CHK:
Confirmation Status: Confirmed
Category:
Sound

 Description   

How to reproduce

  1. Place a record in a jukebox. Observe that you can hear it play.
  2. Reload the world.
    The record is no longer playing

The cause of this bug is the fact that Jukeboxes don't serialize playing state. In fact, from what I've heard, the playing data is actually stored to the player for that session: this is why you can place a record in a jukebox, teleport far away, and return, and it will still be playing.



 Comments   
Comment by psychon [ 19/Oct/24 ]

This bug becomes extremely noticeable with multiple players

If a disc is inserted while another player is out of range, they will not hear the disc when they come back in range.

Even worse, if the disc is removed while they're out of range, they'll still hear it playing when they come back in range.

Comment by tchernikovsky [ 28/Sep/24 ]

I think this should be reopened because completely breaks the functionality of the jukebox in my opinion.

I've been playing around with jukeboxes in 1.20.6. I want to make a redstone machine that will continuously shuffle play my discs so that I can hear them any time I come in range. However, if the disc is inserted while the player is outside the 64 block hearing range of the jukebox, and you then move back in range, you can't hear the disc playing. The jukebox will still give a redstone output for the duration of the disc's playtime, and parrots and allays will dance next to it for that same duration, after which the jukebox turns off and a hopper can then pick up the disc just as if it had been playing the whole time, only the player can hear nothing.

I haven't tested this with multiple players. It might be interesting to see what happens if one player inserts the disc while standing next to the jukebox while another player stands out of hearing range and then enters the hearing range. But it seems pretty clear to me that each individual player can only hear the record if it has been inserted while they're standing within hearing range of the jukebox. This seems kind of broken to me.

Comment by MistrzuIgor [ 02/Jun/23 ]

Affects 1.20 release candidate 1

Comment by LuxiKeks [ 02/Apr/23 ]

Affects 1.19.4

Comment by [Mod] Avoma [ 28/Aug/21 ]

Can confirm in 1.17.1.

Comment by [Mod] Avoma [ 16/Jun/21 ]

Can confirm in 1.17.

Comment by [Mod] Avoma [ 30/Apr/21 ]

Can confirm in 21w17a.

Comment by [Mod] Avoma [ 19/Apr/21 ]

Can confirm in 21w15a.

Comment by [Mod] Avoma [ 27/Mar/21 ]

Can confirm in 21w11a.

Comment by [Mod] Avoma [ 18/Feb/21 ]

Can confirm in 21w07a. Video attached.

Comment by [Mod] Avoma [ 12/Feb/21 ]

Can confirm in 21w06a.

Comment by [Mod] Avoma [ 05/Feb/21 ]

Can confirm in 21w05b.

Comment by [Mod] Avoma [ 28/Jan/21 ]

Can confirm in 21w03a.

Comment by [Mod] Avoma [ 23/Dec/20 ]

Can confirm in 20w51a.

Comment by [Mod] j_p_smith [ 14/May/20 ]

Confirmed in 1.15.2 and 20w20b.

Comment by user-f2760 (Inactive) [ 18/Mar/16 ]

No response for over a year.

Comment by [Mod] Sonicwave [ 23/Nov/14 ]

Does this still occur in the current version/snapshot 1.8/1.8.1-pre5?

Comment by Itouch2 [ 16/Mar/14 ]

Confirmed for 1.7.5 and 14w11b

Comment by WolfieMario [ 06/Jul/13 ]

The server doesn't need to store the music disk files' length. All it needs to do is store how long the jukebox has been playing, or perhaps a timestamp of when it was last played. Giving the client this information would be sufficient for the client to determine whether to play the record and which point to start from.

This information would be provided any time the client is given the data of the chunk (similar to how the server already provides other tile entity data, such as spawner data, to the client upon chunk load), and would otherwise be refreshed when a jukebox is played. The jukebox's coordinates can be used to ensure that any currently playing music is not played multiple times if a player is teleported away from and back to a chunk with a jukebox.

Comment by Ksenofontov Alexander [ 05/Jul/13 ]

But its unfixable. Server hasn't length of music disk files.

Comment by Kumasasa [ 28/Feb/13 ]

Confirmed.

Generated at Sun Jan 12 12:24:22 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.