Topic category: Help with Minecraft modding (Java Edition)
I’ve encountered a serious problem with my custom mob’s movement as it attempts to chase and attack its target:
- The model spins and jolts around during movement, making it struggle to catch up to a fleeing target
- The mob sometimes seems unable to deal damage to its target, even if it is right on top of it - it may or may not succeed in dealing damage after a delay
-
Here is a clip demonstrating the problem: https://youtu.be/lHNZEsFEn9U?si=M4RWVaH-06JKx1kH
I suspect that this may have something to do with the mob’s hitbox, as that has been giving me a bit of grief as well due to MCreator only allowing cuboid hitboxes (separate thread asking about that here: https://mcreator.net/forum/107909/custom-entity-hitboxes-length-and-width)
If anyone has any ideas regarding how to fix this, I would be very grateful to hear them. Manually editing the code is an option as I am working with friends familiar with Java, I would just need to know what files to edit and where to find them.
still need help with this if anyone might be able to offer some advice!
help needed with this, if anyone can help or may know someone who can help, please let me know.
The way I fixed it was by messing with the mob hit box making it a bit bigger then the texture, hope this helps -ace
hi! thanks so much for responding. i will certainly try it, but i’ve adjusted the hitbox many times before to no effect, unfortunately
i have the same problem to some time mob not aggressive enough to chase the target but when the target stop the hostile mob just stare at it
heres my video :
https://drive.google.com/file/d/1bBb7vuOegS7JS9BdQYV8O6OCqD3rFyQE/view?…
https://mcreator.net/forum/106674/help-mob-ai-attack
i think this might help you