promotional bannermobile promotional banner

Everlasting Music

Makes Music not fade out after traveling some distance on Indev 20100223

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.

The Everlasting Music Team

profile avatar
  • 4
    Projects
  • 6.1K
    Downloads

I attempt to create projects.

More from KorbynTalks