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 06:16, 12. Jun 2021
Joined Jul 2020

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?