How to make a mob fight back?

Started by SunSteel on

Topic category: Help with Minecraft modding (Java Edition)

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?

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.