Started by
Gunner Bodie
on
Topic category: Help with Minecraft modding (Java Edition)
Game Freezes for about 5 seconds when I play a custom Music Disc. If I play a longer one, it freezes longer. I am on 2020.2 MCCreator and modding for 1.12.2. I can't update to a newer version as certain mods we use on my server are unavailable for newer versions.
Lol I had this issue earlier today when I was modifying a mod pack and found the fix. In the sounds.json file, make sure you have a line that says this exactly for each sound (include the quotes):
“stream”: true
this preloads the sound. having a stream value of false or 0 makes it so that the sound has to load when you first play it, causing a brief lag spike.