Stop music for a specific position (like Minecraft jukebox)

Started by BlockBit on Tue, 06/14/2022 - 11:38

Topic category: Help with modding (Java Edition)

Last seen on 16:21, 11. Aug 2022
Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Stop music for a specific position (like Minecraft jukebox)
Tue, 06/14/2022 - 11:46 (edited)

I'm looking for a way to make a block like a Minecraft jukebox that will stop the sound just for itself. I have already done it with /stopsound... but it stops the corresponding running music on all blocks. The Minecraft jukebox stops only HIS sound and not all other jukeboxes with the same running musik.

 

Example: I am creating a radio block with custom casetts. I used the track/ record "mellohi". If i stop the running sound "mellohi" on my radio, it stops the running jukebox with the playing track "mellohi" too. That happend because i am using the /stopsound @a record minecraft...

 

Is there a way to stop the sound for a specific block or a specific position that do not stop all other running same tracks/ records?

Edited by BlockBit on Tue, 06/14/2022 - 11:46
Last seen on 16:21, 11. Aug 2022
Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Help please
Wed, 06/15/2022 - 10:56

Help please