Need help in creating custom boss, setting health etc

Started by Mystic_Hound on

Topic category: Help with modding (Java Edition)

Last seen on 06:50, 16. Jun 2024
Joined May 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Need help in creating custom boss, setting health etc

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: 

https://imgur.com/a/i8daPE7

Last seen on 06:50, 16. Jun 2024
Joined May 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
In the Set health block i…
Tue, 05/28/2024 - 06:48

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 :/