Started by
Mystic_Hound
on
Topic category: Help with Minecraft modding (Java Edition)
I am creating a boss with spider's own model. The problem is when the mob's health reaches below certain percentage it spawns 3 cave spiders to assist it in the fight But since it detects the health and then spawns the spiders it used to spawn many spiders unless its health changes from the "certain percentage" I used set health of entity/target entity to change its health but rather its killing it instantly after spawning the cave spiders.
Here's the image:
In the Set health block i used 100 because it is the default health of spider boss. Before this i was used max health of entity/target entity. I thought using 100 itself would fix the problem but it didn't :/