So I got off my friend’s world, before I logged off, I was playing pigstep, then I left, and pigstep was playing even though I logged off the world.
Additional information from the comments:
This issue only occurs in singleplayer when the Enable Game Pause option is disabled, or when playing in multiplayer.
Steps to Reproduce:
Launch Minecraft
Open a world
Navigate to Settings > General and ensure Enable Game Pause is disabled
Obtain and place a Jukebox
Obtain a Music Disc and insert it into the Jukebox
Leave the world
Observed Results:
The Music Disc continues playing after leaving the world. If the player rejoins the world and destroys the Jukebox, the music continues to play. To stop the music, the player must insert and then remove a new instance of the same Music Disc.
Expected Results:
The Music Disc should stop playing immediately after leaving the world.
Comments 2
A side effect is that the disc and the menu track play over one another, and that’s unpleasant.
This problem also applies to Realms, not just single player with game pause disabled or private multiplayer. After leaving a Realm in which a disc is playing, the disc continues to play, and does not stop until the end of the disc is reached.
I can confirm the reported behavior in the 26.0.25 Preview. This issue only occurs in singleplayer when the Enable Game Pause option is disabled, or when playing in multiplayer.
Steps to Reproduce:
Launch Minecraft
Open a world
Navigate to Settings > General and ensure Enable Game Pause is disabled
Obtain and place a Jukebox
Obtain a Music Disc and insert it into the Jukebox
Leave the world
Observed Results:
The Music Disc continues playing after leaving the world. If the player rejoins the world and destroys the Jukebox, the music continues to play. To stop the music, the player must insert and then remove a new instance of the same Music Disc.
Expected Results:
The Music Disc should stop playing immediately after leaving the world.