mojira.dev
MC-46634

Thunder volume is not affected by weather volume settings

The bug

During a thunderstorm, the volume level of the thunder was drowning out other noises (like the music I play in the background), so I opened the volume controls to adjust it down to a tolerable level.

Adjusting weather volume to OFF is the only way to make it change volume. Adjusting weather volume from 0% to 100% had no noticeable effect on the volume of the thunder.

Code Analysis

Code analysis by @unknown can be found in this comment

Linked issues

Comments 26

Can confirm. When I put the weather volume to 1% I still hear the storm but no the rain

The fix for this problem should fix most of the sound volume related bugs.

This issue still appears to affect 1.9

Anybody else seeing this in 1.9 too?

Can confirm in 1.9

16 more comments

@unknown, oh, I didn't know that. The intent is to let the sound travel as far as possible with lightning, but then you get bugs like these. But 10000 as volume for lightning strike seems overkill as the dragon flapping is just 5f, which also needs to be heard from a far.

Affects 1.16-rc1

Can confirm still present on 1.16.4 - went searching to see which category it was in as the lightning was so much louder than the rest of the game and found this. Turned Weather and Ambient/Environment to OFF and still heard the thunder, so thought I was bad at guessing which audio category it's in.

Can confirm in 1.17.1.

Besides the suggested fix by oval, it's also possible to provide a VERY TINY volume in the sounds.json; I'm talking 0.0001; this should still allow the sound to be played literally everywhere, but be completely responsive to the sound slider, even having 99% affect the volume. The one downside is that /playsound would then need to provide such a high volume (10000) as well in order to make it heard. (This is a little trick I use with custom music so it plays everywhere but isn't making sliders unresponsive.)

David Cady

[Mod] Asteraoth

(Unassigned)

Confirmed

Platform

Low

Sound

thunder, volume, weather

Minecraft 1.7.4, Minecraft 14w05a, Minecraft 14w06a, Minecraft 14w06b, Minecraft 14w07a, ..., 1.19, 1.19.2, 23w45a, 1.20.6, 1.21.3

Minecraft 14w26a, Future Update

Retrieved