AsoDesu / IslandUtils

A client-side utility mod for MCC Island
MIT License
46 stars 19 forks source link

Parkour Warrior Music fade in when finishing leap in the exact same time as the music starts fading out #89

Open MrKacafirekCZ opened 9 months ago

MrKacafirekCZ commented 9 months ago

Is your feature request related to a problem? Please describe. I often find myself finishing a leap around the time when it says "Next leap in 00:14" or "Next leap in 00:15". At this exact time the music starts fading out. When I finish the music starts over and playing at the player's specified volume.

Describe the solution you'd like It would be nice to have the music fade in while it's still playing. If it's no longer playing (aka the overtime music is playing), the currently implemented solution works well enough (aka overtime music stops and Parkour Warrior music starts playing again from the beginning).

Describe alternatives you've considered No alternatives have been considered.

Additional context N/A

AsoDesu commented 9 months ago

This is something that i originally wanted to do with the survivor music, but i ran into a lot of issues and kinda just wanted to get it out lmao I'll have a look and see what i can do

MrKacafirekCZ commented 9 months ago

Yeah I actually tried to do this myself but I ran into an annoying Minecraft "feature" (I guess) and that's any sound with volume 0 is immediately getting stopped.

AsoDesu commented 9 months ago

yeaa that's given me way too many issues lmao

MrKacafirekCZ commented 9 months ago

Hm I just had an idea, if it's possible to set the volume to such a value that you can't hear anything as the player but it's still not equal 0 meaning Minecraft will not stop that sound.

AsoDesu commented 9 months ago

thats how Noxesium stops the music from stopping when you set a volume slider to 0