Started by
RedpikminMCreator
on
Topic category: Help with Minecraft modding (Java Edition)
I need to know: How do I make a boss mob have a boss theme in-game? I'm doing this for the remaster of my old Learning with Pibby: Apocalypse mod called "Pibby's Apocalypse" which has a working Wither Storm fight, with the Wither Storm corrupted by the Darkness, and unlike the original, it does actually work.
something like "player tick update > if ("your mob" is in radius - 20 && isthemenotplaying) > play sound at x, y, z"
The fact that the boss fight works means I'm learning how to use MCreator to its potential.
if you want the theme to loop
I have the solution
using numbers like local variables or synced data
you just need to add by 1 to the data every tick
and make so that the theme replays when its the time frame
the problem is that you need adjust this value for how long the song is by 20