The Bug:
The "minecraft:block.chest.locked" sound cannot be heard by other players when attempting to open locked blocks.
Steps to Reproduce:
Get two players and label them "Player A" and "Player B".
Summon a chest that has a lock on it by using the command provided below.
/setblock ~ ~ ~ minecraft:chest{lock:{components:{"minecraft:custom_name":'"Mojira"'}}}
Get "Player A" to stand still near the chest and have "Player B" attempt to open it.
Take note as to whether or not "Player A" can hear the "minecraft:block.chest.locked" sound.
Observed Behavior:
The "minecraft:block.chest.locked" sound cannot be heard by other players when attempting to open locked blocks.
Expected Behavior:
The "minecraft:block.chest.locked" sound would be able to be heard by other players when attempting to open locked blocks.
This may relate to MC-237252.