Started by
rileyvl123
on
Topic category: Help with Minecraft modding (Java Edition)
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
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
I have already tried to use the stopsound command but it doesn’t work for some reason.
did you execute the command server sided or as the entity?