How to make a sound fade with distance?

Started by EbonyCrow on

Topic category: Help with Minecraft modding (Java Edition)

Active 1 month ago
Joined Jul 2020
Points:
645

User statistics:

  • Modifications: 1
  • Forum topics: 7
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 11
How to make a sound fade with distance?

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?

Active 1 month ago
Joined Jul 2020
Points:
645

User statistics:

  • Modifications: 1
  • Forum topics: 7
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 11
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.

Active 1 year ago
Joined May 2022
Points:
366

User statistics:

  • Modifications: 1
  • Forum topics: 0
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 28
I know its been a while, but…
Sat, 04/01/2023 - 06:09

I know its been a while, but thank you lol