How to make a sound fade with distance?

Started by EbonyCrow on

Topic category: Help with modding (Java Edition)

Last seen on 00:46, 18. Mar 2024
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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?

Last seen on 00:46, 18. Mar 2024
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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.

Last seen on 10:30, 18. Mar 2024
Joined May 2022
Points:

User statistics:

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

I know its been a while, but thank you lol