Some checks failed
build / build (push) Has been cancelled
Previously the per-anchor audio gain was just volume × distance attenuation, which ignored Minecraft's sound options sliders entirely — Master and Players both had no effect on video audio. Now updateDistanceGains multiplies in options.getSoundSourceVolume(MASTER) × getSoundSourceVolume(PLAYERS) to match vanilla SoundEngine.calculateVolume, so the Players slider attenuates video audio like other player sounds and Master gates everything. Recomputed at the same 20Hz tick as distance gain — slider drags take effect within ~50ms with no extra plumbing.
457 B
457 B