Custom Mobs/Creatures randomly turn when following (aggressive towards player)

Started by jmods on

Topic category: Troubleshooting, bugs, and solutions

Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Custom Mobs/Creatures randomly turn when following (aggressive towards player)
Sat, 07/29/2023 - 21:40 (edited)

I've created a Geckolib custom boss mob, everything works perfectly except for one thing.

When the boss has targeted me and is moving towards me and I am also moving the boss constantly turns left or right then snaps back to me. However when I walk away and am standing still it's constantly facing me whilst moving towards me.

Has anyone experienced this or just me?

Below is the current AI and goals for the mob.

I've tried multiple different combinations but still occurs, even the AI Templates. However when I set the Entity Base to Zombie it didn't do it anymore and worked perfectly fine. 

Edited by jmods on Sat, 07/29/2023 - 21:40
Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
This happens with me too, I…
Tue, 05/14/2024 - 04:44

This happens with me too, I have no clue why it happens but I've noticed that faster mobs do it more frequently.

 

Hope someone covers this issue at some point in time.