How to make a sound fade with distance?

Started by EbonyCrow on Thu, 08/06/2020 - 07:14

Topic category: Help with modding (Java Edition)

Last seen on 07:59, 25. Mar 2023
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How to make a sound fade with distance?
Thu, 08/06/2020 - 07:14

I made a custom music disk with a custom sound file, but when played in game, the sound does not become quieter no matter how far away from the jukebox the player is. I tried setting the "sound category" to different things like music, record, and block, but nothing changes. How can I make the sound fade with distance?

Last seen on 07:59, 25. Mar 2023
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
It's been a while, but I now…
Mon, 10/25/2021 - 03:42

It's been a while, but I now know that this can be solved by changing the sound file from stereo to mono. This is pretty easy to do with audacity.