I need help with aggressive mob!

Started by jamal42 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Mar 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I need help with aggressive mob!
Mon, 03/24/2025 - 19:01 (edited)
Hello everyone! I'm new to the Minecraft modding community and I need help creating my own aggressive mob.
The thing is that I created a mob that should quickly catch up with the player and kill him, and it seems to me that I have set up enough speed for him, but when the mob sees the player, he simply cannot catch up with him, he can stand in one place or just spin around himself, and it is easy to get away from him without even running. 
I will attach all the AI ​​settings of this mob and will try to attach a video where this problem will be shown. Is this a Minecraft or Mcreator bug or did I do something wrong? I need your help.
And this is wideo with problem https://www.youtube.com/watch?v=wH8-29L9rb8
Edited by jamal42 on Mon, 03/24/2025 - 19:01
Joined Mar 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The images aren't loading…
Tue, 03/25/2025 - 09:24

The images aren't loading. Tho, I suspect it probably has something to do with a "Do melee/contact attack with speed factor" block, where the speed factor might be set too low. Just increase the speed factor if the mob seems too slow?

Joined Mar 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
hi thanks for the reply! i…
Tue, 03/25/2025 - 17:49
hi thanks for the reply! i will try to attach a link for the images.
here it is- https://imgur.com/a/CRMXAGU
Joined Mar 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Could you upload a…
Tue, 03/25/2025 - 21:21

Could you upload a screenshot of the "AI and goals" tab?

Joined Mar 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Sure, here it is - https:/…
Wed, 03/26/2025 - 15:28
Sure, here it is - https://imgur.com/a/YClTYFF
But I would like to say that this is an old screenshot, on your advice I just increased the speed a little bit(from 1,38 to 1.6) and everything started working much better. Thanks!
Joined Mar 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Your mobs AI seems…
Wed, 03/26/2025 - 17:47

Your mobs AI seems unnecessarily complicated and cluttered, there are some repeating blocks that basically do the same thing, and they're set up in a way in which the wrong tasks might be taking priority over the others.

I'd suggest setting up the AI tasks like this, might help with the mob overall:

This AI does practically the same thing as yours, but I've optimized it and removed all the clutter.

Joined Mar 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thank you very much! You…
Thu, 03/27/2025 - 16:32
Thank you very much! You helped me a lot