Started by
JuanTheOwl
on
Topic category: Help with Minecraft modding (Java Edition)
Hello comrades,
I'm trying to make a boss fight, almost everything is ready but there's a problem. Short story long, there's two phases, when the boss dies, a copy spawn with four skeletons, and I want the boss to be invicible until those skeletons are dead.
Any idea ?
Thanks.
Greetings fellow crusader! Ze solution is to have a procedure zhat gives the boss invulnerability if a skeleton exists within a certain amount of blocks. Contact me again if you need pictures
But not on feburary 20, I vill be busy zhen!
Thanks for responding ! I would gladly have some picture because I don't knowho wto do it ^^
Here you are! Contact me if furzher information is needed.
https://i.imgur.com/apoMLZY.png
Thank you so much !
I've got different problem, but it's also with boss fight. Does anybody know how to play custom music when fighting the boss? Is it even possible?
this is actually possible if your boss is spawned with blocks like an iron golem is
if not then i would make a variable that checks if the player has already started playing the music, and make the music play when the boss entity is attacked
Not sure if this is up your alley but I usually just make the boss music the boss' living sound (ambient sound) in the mob settings. The moment it spawns it'll start and when it dies, it'll stop. There are some tradeoffs but it works.
@Bananas You Can Create A Procedure So When The Entity Spawns It Plays A Sound