[Question] Where does this mod tell MC/Forge to play the music?
tarbaII opened this issue ยท 4 comments
I have been searching the source code for about 45 minutes now and I can't find where this mod actually tells Minecraft (or Forge) to play the music. I've found the Lavaplayer stuff and the playlist management stuff but I can't find any Minecraft or Forge API calls for the music. Could you point me in the right direction? I'm looking to do something similar in a mod of mine.
Ah that makes sense, thank you very much! How does it stop playing Minecraft's BGM? I don't see anything that might do that there.
The music isn't played through the minecraft sound engine. It's using the javax.sound api here:
Well it just doesn't stop the background music of minecraft. The player needs to disable it themselves.