Compatibility
Minecraft: Java Edition
inf-20100618
Platforms
Supported environments
Client-side
Tags
Creators
Details
Licensed ARR
Published 6 days ago
Updated last month
Everlasting Music
Thanks for checking out Everlasting Music! This Mod fixes a bug in Indev 20100223 that makes Music fade out after traveling some distance from where it started to play.
How does this work?
The reason for Music fading out is because of the Distance Falloff value for starting the Music being too low.
this.sndSystem.newStreamingSource(true, "BgMusic", ... 2, /* This value right here --> */ 32.0F);
To fix this, this Mod changes the value to 1.0 / 0.0, which in Java turns into Positive Infinity.
this.sndSystem.newStreamingSource(true, "BgMusic", ... 2, (float)(1.0 / 0.0));
Why can't I install this like any other Mod?
This is a Jarmod. A type of mod that directly changes Minecraft's classes through unzipping the Minecraft Jar and putting in the modified class files and zipping it back into a Jar again. If you don't understand, look up how to do it.


