The bug
In single-player, the command block, sign, and book GUIs pause the game, but not any music or sounds that are currently playing.
How to reproduce
Put a record in a jukebox
Jump and right click a command block
→ ❌ The game will pause (you will stay in mid-air), but the music will keep playing
Linked issues
Attachments
Comments 12
I doubt that this is intentional since the music does pause when pausing the game through the game menu
I've already experienced this and it certainly seems to be not intended. @unknown, please add a source saying that this is intentional.
Also, I scanned the tracker for duplicates, and didn't find any.
Since command blocks are accessed frequently, I highly doubt that it would be intended to mute the in-game music every time you open a command block GUI which would be more than annoying. Also no other GUI, may it be the anvil, enchantment table, etc. does mute the music.
The book GUI pauses the game as well and very likely signs as well. Interestingly the structure block GUI does not pause the game.
I think that this should stay the same. Several times I have caused major lag while summoning mobs repeatedly, and entering the command block stops the lag and allows me to stop the summoning.
I have merged this report into MC-118081 (and therefore resolved it as duplicate) because it appears both reports describe the same issue.
Can confirm on 1.11.2