Mob is not attacking player

Started by RedIronNinja on

Topic category: Help with Minecraft modding (Java Edition)

Active 7 years ago
Joined Jun 2017
Points:
698

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1
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
Active 3 years ago
Joined Jul 2016
Points:
1078

User statistics:

  • Modifications: 9
  • Forum topics: 21
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 359
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.

Active 5 years ago
Joined Apr 2016
Points:
992

User statistics:

  • Modifications: 4
  • Forum topics: 22
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 273
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.

Active 7 years ago
Joined Jun 2017
Points:
698

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1
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.

Active 3 years ago
Joined Jul 2016
Points:
1078

User statistics:

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

Oh so thats how you do it thanks.

Active 6 years ago
Joined Sep 2018
Points:
693

User statistics:

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

where is attack on collide