Playsound at unloaded chunk

Started by patrikh1410 on

Topic category: Help with modding (Java Edition)

Last seen on 07:37, 17. Feb 2023
Joined Nov 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Playsound at unloaded chunk

Hello,

i am making a mod for my minecraft server, it is simple city radio - it plays some songs every 10 minutes, activated by redstone clock. Problem is that if i am far from city and then i came back, the sound is not playing - i must be in the range of my radio to hear the sound. If the block is activated for example by player in the spot A, and i am far away at spot B, player A can normally hear the music but when i came back from spot B to spot A, i cannot hear it - i must be in the range of the radio when it activates to hear it. For example, mod called "Iam Music Player" - https://www.curseforge.com/minecraft/mc-mods/iammusicplayer, doing exactly what i want. It plays sound even i am too far away and when i come back it is still playing. How can i do that?