How to limit the music on a disc to a predetermined number of blocks?

Started by RastCraftTeam on

Topic category: Help with modding (Java Edition)

Last seen on 20:20, 12. Jun 2023
Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to limit the music on a disc to a predetermined number of blocks?

I have created a music disc in Mcreator but the music is heard everywhere and I want it to only be heard in a range of 15 blocks. how can I do it? 

 

PS: I'm using Mcreator 2021.3