Mob is not attacking player

Started by RedIronNinja on

Topic category: Help with modding (Java Edition)

Last seen on 01:54, 25. Apr 2018
Joined Jun 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Mob is not attacking player
Sat, 06/17/2017 - 07:00 (edited)

I have the mob task set to attack the player with 20 piority and it just ignores me! any help?

Edited by RedIronNinja on Sat, 06/17/2017 - 07:00
Last seen on 14:19, 6. Aug 2021
Joined Jul 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I'm pretty sure the maximiun
Sat, 06/17/2017 - 07:29

I'm pretty sure the maximiun priority is 10 (Either that or they've changed it.) And the same thing happens to me to but the mob will only attack if it has a ranged attack. Otherwise I don't know why. I hoped that helped.

Last seen on 23:44, 18. Aug 2019
Joined Apr 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
If you want it to just walk
Sat, 06/17/2017 - 15:09

If you want it to just walk up and attack you like most mobs, you nee3d to also add the attack on colide task. If you want it to shoot projectiles, you do not need to include this task.

Last seen on 01:54, 25. Apr 2018
Joined Jun 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
RE:I'm pretty sure the maximiun
Sat, 06/17/2017 - 20:27

Thanks! I fiddled around with the tasks and got it working by adding attack on collide, watch closest entity, and to act aggressively against me.

Last seen on 14:19, 6. Aug 2021
Joined Jul 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Oh so thats how you do it
Tue, 06/20/2017 - 21:25

Oh so thats how you do it thanks.

Last seen on 20:19, 19. Apr 2019
Joined Sep 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
where is attack on collide
Sun, 09/23/2018 - 12:42

where is attack on collide