Custom mob AI attack pathfinding issue.

Started by Ali107 on

Topic category: Troubleshooting, bugs, and solutions

Last seen on 10:52, 9. Jul 2024
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.

Last seen on 09:41, 30. Jun 2023
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.