How do i make a passive entity run from the entity that hurt it?

Started by Scorpion_stung01 on Thu, 04/22/2021 - 02:48

Topic category: Help with modding (Java Edition)

Last seen on 19:45, 28. Apr 2021
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How do i make a passive entity run from the entity that hurt it?
Thu, 04/22/2021 - 02:48

Hello, so bassically im making a droid from star wars into the game and i set to a creature and passive however i do not know if it will automatically run away. I am trying to get it to run away when damaged by an entity. Help is very much appreciated. Thank you

Last seen on 23:30, 10. May 2021
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Click on your entity, go to …
Thu, 04/22/2021 - 03:03

Click on your entity, go to "AI and Goals" , go to Combat tasks and drag this block into your entities AI blocks

click here

In the end it might look something like this.

click here