Download Volume Fix — Minecraft Mods — MetaMods

Volume Fix

Active

Downloads

0

Last update

3 months ago

Versions

1.19 — 1.21.9
Client
Fabric
Quilt
Game mechanics
Utils

Volume Fix

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.

Project members
Roundaround

Roundaround

Developer

Created: 16 Mar 2023

ID: 5612