mojira.dev
MC-253152

If you reload a world while a Jukebox is playing, it will stop playing music but still produce a particle and let Allays dupe

The Bug:

Edit: Initially, I thought this bug was about if you reload a world after a Jukebox has finished playing music but left the disc in, it would still let you dupe Allays. However, after the addition of the Jukebox particle and more testing, I was able to figure out I was wrong; this is what actually happens. I was thinking the Jukebox song was over because the audio had stopped, but it was still technically going as the audio and "playtime" of the jukebox aren't actually synced.

 

If you relog a Minecraft world while a Jukebox is playing, the Jukebox will continue to act like it is playing music; producing a particle and letting you dupe Allays. However no audio will be heard.

How to Reproduce:

  1. Play a disc on a Jukebox, preferably with an Allay nearby.

  2. Wait until the music track ends, then reload the world

  3. Once logged back in, notice how the jukeblox with continue playing notes, emitting redstone, and allowing Allays to be duplicated despite no longer playing audio

Linked issues

Attachments

Comments 2

Confirmed, but I was still able to duplicate the allay,

That's because server-side, the record is still playing (counter isn't set to 0, redstone power is emitted, and particles are emitted).

Orbic

(Unassigned)

Confirmed

Platform

Normal

Mob behaviour

disc, jukebox, reload

22w24a, 1.19.1 Release Candidate 1, 1.19.1 Pre-release 4, 1.19.1 Pre-release 5, 1.19.2, ..., 1.20 Release Candidate 1, 1.20, 23w33a, 1.21, 1.21.1

Retrieved