Volume Fix

Volume Fix

Mod

Fix volume controls in Minecraft to work as intended.

Client Game MechanicsUtility

6,450 downloads
52 followers
Follow Save
90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!

Volume Fix


Fix volume controls in Minecraft to work as intended. In particular, very loud sounds (thunder, jukeboxes, fireworks) should now react properly to changes in the appropriate volume sliders!

The why (technical)

In vanilla Minecraft, will only play for players within a certain distance. The distance is based on the volume of the sound being played. This means loud sounds (i.e. thunder) are set to an absurd volume in order to be heard from anywhere. The side effect of this is that no matter what you set your weather volume slider to, the thunder sound will always be played at 100% volume. Some other loud sounds like jukeboxes and fireworks suffer from the same problem, though not as extreme (the volume slider does nothing for them until it gets really low).

In order to fix this, I've capped all the internal volumes to 100%, then used the original volume value to determine the range like normal. This results in sounds being audible from the expected range, but the actual volume level scaling correctly with the slider.


Project members

Roundaround

Owner

Details

Licensed MIT
Published 2 years ago
Updated 3 months ago