
Volume Fix
Fixes the operation of volume controls in Minecraft, making them function as intended by the developers. Now even the loudest sounds (thunder, jukeboxes, fireworks) will properly respond to changes in the corresponding volume sliders!
Technical Explanation of the Problem
In the standard version of Minecraft, sounds are only played for players within a certain distance from the source. This distance is calculated based on the volume of the sound being played. As a result, very loud sounds (such as thunder) are set to excessively high volume levels to be heard from anywhere. The side effect of this is that no matter how much you lower the weather volume slider, the thunder sound will always play at 100% volume. Other loud sounds like jukeboxes and fireworks suffer from the same problem, although not as extreme (the volume slider doesn't affect them until set to a very low level).
How the Fix Works
To solve this problem, I've capped all internal volume values at 100%, while preserving the original volume values for determining audible distance. As a result, sounds are audible from the expected distance, but their actual volume level correctly scales according to the slider position.