how to make a sound that entity emits far, and another when close

Started by Ezzidze19 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Feb 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how to make a sound that entity emits far, and another when close

I want to try to make an entity which always emits a far sound but when it comes closer, another sound starts to play also on always loop. I got this idea from roblox doors but i don't know if i have to do a lot of custom coding...

Joined Feb 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
And if entity gets far away…
Fri, 04/18/2025 - 09:31

And if entity gets far away the near sound stops playing