Some mobs won't attack anymore in 1.7.9

Started by Schneebeere on Tue, 05/29/2018 - 22:07

Topic category: Bugs and solutions

Last seen on 23:08, 25. Oct 2019
Joined Sep 2017
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Some mobs won't attack anymore in 1.7.9
Tue, 05/29/2018 - 22:07

I got some Problems with the new version 1.7.9: I made a few new Mobs and some Mobs are attacking me, but some Mobs aren't attacking me, I made all Mobs agressive. And also that Mobs only attack when you hit them is also not working anymore. I can't continue my Mod with this, so pls fix that.

Last seen on 20:14, 12. Nov 2019
Joined Jun 2016
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
You need to add these AI…
Wed, 05/30/2018 - 06:53

You need to add these AI tasks to your mob:

Wander

Look around

Attack targets

Attack EntityPlayer

Attack on collide

Or something similar (don't use attack on collide on ranged mobs)

If you want to make neutral mobs, don't use attack EntityPlayer

 

Last seen on 23:08, 25. Oct 2019
Joined Sep 2017
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Oh i didn't know that. It…
Mon, 06/04/2018 - 21:38

Oh i didn't know that. It worked now, thank you :).