mojira.dev
MCPE-93948

"music" category in sound_definitions is ignored

The bug

When a sound is defined with a category of music in the sound definitions file, this has no effect. The music slider in sound settings does not affect the volume of the music.

How to reproduce

1. Download the attached world

2. Press the button on the command block
3. Change your music slider setting as the Ode to Joy plays
β†’ ❌ Volume is unaffected

Sound definitions file in the bundled resource pack is duplicated here for convenience:

{
   "music.test_music": {
      "category": "music",
      "sounds": [
         {
            "name": "sounds/music",
            "stream": true,
            "volume": 2
         }
      ]
   }
}

Attachments

Comments 6

I can reproduce in 1.16.40.

Have you tried the "sound" slider inΒ 1.16.200.53 Beta?

Yes, music is still wrongly tied to the "sound" slider in the new beta. All other categories are properly tied to their corresponding slider

Affects 1.16.200.55 Beta

Fixed in 1.17.20, fix may have come earlier, I dunno

This is actually thing currently. Had been for as long as I remember.
Music slider doesn't not affect volume for sounds using that category using playsound

tryashtar

(Unassigned)

431928

Confirmed

Windows

1.16.200.55 Beta, 1.16.200.53 Beta, 1.16.10, 1.16.40 Hotfix

1.17.20.20 Beta

Retrieved