How to make a mob fight back?

Started by SunSteel on

Topic category: Help with modding (Java Edition)

Last seen on 14:10, 19. Jul 2019
Joined Jul 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make a mob fight back?

I want to make my mob act like a wolf - It is passive normally, but attacks if you attack it.

How would I do this?

Last seen on 21:31, 16. Apr 2024
Joined Dec 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Just add "Make Mob…
Thu, 08/01/2019 - 09:36

Just add "Make Mob Aggressive" and remove "Attack type of EntityPlayer/EntityPlayerMP". The mob will only attack it's damage source then.