Stopping custom music from playing as background music.

Started by rileyvl123 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Nov 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Stopping custom music from playing as background music.

Hey. I’ve added some custom music into my mod. I’ve added them as “music” in the menu where u select what kind of sound you are adding. How do I stop those songs from having the chance to play as background music in minecraft. It’s really annoying because I only want those songs to play when I enter a command to play them.

 

please help

Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
world procedures: Run…
Tue, 11/23/2021 - 13:33

world procedures:
Run command at x y z: /stopsound @p <ChannelOfSound> <soundname>
Then to play the sound: /playsound <sound> <source> <targets> [<pos>] [<volume>] [<pitch>] [<minVolume>]
those in square brackets are optional

Joined Nov 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I have already tried to use…
Wed, 11/24/2021 - 22:59

I have already tried to use the stopsound command but it doesn’t work for some reason.

Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
did you execute the command…
Sun, 12/12/2021 - 13:31

did you execute the command server sided or as the entity?