Custom mob AI attack pathfinding issue.

Started by Ali107 on

Topic category: Troubleshooting, bugs, and solutions

Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Custom mob AI attack pathfinding issue.

Version: 2023.1 - 1.18.2

 

When a mob tries to attack another mob, it would run toward it and attack. 

The thing is that sometimes when a custom mob attacks, it would navigate to its target and just be a tad bit away from its target so that it won't be able to hit it. (tested on biped model)

 

If two different custom biped mobs want to fight each other, there is a small chance of them just staring at each other without getting close enough in range for them to attack. (something external must nudge one of the attacking mobs in order to let them continue the fight)

 

To fix it, either make the mob navigation walk closer to the target mob or allow the mod makers to adjust the mob's attack reach.

Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I have experienced this too…
Tue, 06/06/2023 - 03:39

I have experienced this too. I hope this gets fixed.

Joined May 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i have the same problem to,…
Thu, 08/01/2024 - 13:57

i have the same problem to, did yall find any way around ? 2024.2 still have this issue