Topic category: Help with Minecraft modding (Java Edition)
Basically, I added 59 music discs into minecraft. I worked like an absolute machine for 16 hours.
The only problem is:
No matter where I look at or how far away I am from the jukebox, the disc I inserted is always at maximum volume.
Now, in single player this wouldn't be that much of a problem. But I'm planning on running the mod on a server with friends and it'd be pretty annoying if every song was playing at the same time like a clusterf*** throughout the entirety of the minecraft world.
The mod version is 1.18.2 and the forge version is 40.2.10
I got a deadline in around 3,5 days
Is there anything I can do to have the volume work like the vanilla music discs?
e.g. any feature that I can use or any code I can put in to achieve this?
To be precise, I want the music to fade out when I go away from the jukebox.
make sure your sounds you have is at "Mono", otherwise it will not fade out.
This was solved quite a while ago, here: https://mcreator.net/forum/60557/music-disc-sound-everywhere
To summarise, get Audacity and convert all your music discs to a MONO OGG file. (You can keep your disc mod elements, but switch out every disc audio to the new one.)