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.
17 lines
457 B
Properties
17 lines
457 B
Properties
org.gradle.jvmargs=-Xmx2G
|
|
org.gradle.parallel=true
|
|
# Config cache disabled — new loom + IntelliJ aren't fully compatible yet
|
|
org.gradle.configuration-cache=false
|
|
|
|
# Mod
|
|
mod_id=video_player
|
|
mod_version=0.4.22
|
|
maven_group=com.ejclaw.videoplayer
|
|
archives_base_name=video_player
|
|
|
|
# Minecraft / Fabric (26.1.2 — single target, intermediary/Yarn retired)
|
|
minecraft_version=26.1.2
|
|
loader_version=0.19.2
|
|
loom_version=1.16-SNAPSHOT
|
|
fabric_version=0.149.0+26.1.2
|