Started by
XXNiNjaGam1ng
on
Topic category: Help with Minecraft modding (Java Edition)
Hello n my mod I am trying to have it so for the final phase of my boss entity freezes like stops for like about 5 or so seconds maybe with like a glow or pulse then for it to cause an explosion upon its death with soul fire and soul particles explode out of it
I tried do to it but it never actually worked but the only success I've had was with the deaths of its previous phases just cause an explosion and particles but i cant seem to get a prolonged death
any help would be greatly appreciated
the code I used:
https://imgur.com/a/AZErxd2
Ok so, to make it stops for five seconds you can either modify the java code of your boss or create a procedure with the global event "On Entity Tick Update" and if the target entity is your boss and it is dead then delete the event. To make it explode after 5 seconds create a nbt cooldown which when it reaches 100 ticks (20 ticks are 1 second) despawn your boss and make it explode and spawn the particles.
Hello im so sorry but could you possibly break it up for me lol sorry im not that good at this so sorry but thank you