#β | Is there a way to stop minecraft's music with a button?
1 messages Β· Page 1 of 1 (latest)
Yep, there is a way π Iβm just packaging the cleanest button setup for you now.
Yep π You can do that with a FancyMenu button.
The easiest way is:
- Add a button
- Give it the action Set Minecraft Option
- Set it to
soundCategory_music:0.0
That mutes Minecraftβs music when clicked π΅π
If you want a true on/off setup, you can also use a Music Controller element in a layout and toggle that layout with a button. Thatβs better if you want to stop/resume music more cleanly.
If you want, I can give you the exact click-by-click setup for either method π
I want vanilla background music to stop while my button starts playback of a custom song (on music channel, so turning off music volume is not an option)
Checking one detail: whether the custom song can play on the music channel while vanilla music is suppressed cleanly π§
Yep , in FancyMenu, the clean way is to use a Music Controller element, not the music volume πΆ
So for your setup:
-
Add a Music Controller element
- Disable Menu Music
- And/or World Music, depending on where you want the vanilla music gone
-
Add your Audio element for the custom song
- Set it to the Music channel
-
Make your button do the playback
- Use the button action to start the Audio element
- If needed, also toggle the layout that contains the Music Controller
That way, vanilla background music gets suppressed directly, while your custom track can still play normally on the music channel. No need to mute music volume at all π
If you want, I can write out the exact button action script for a βpress once to start song, press again to stop song and restore vanilla musicβ setup π
This support thread has been marked as solved by @warped wasp.
The AI helper is now disabled.
β | Is there a way to stop minecraft's music with a button?
@boreal lily the vanilla main menu music doesn't stop when I load in the music controller