Topic category: Help with Minecraft modding (Java Edition)
Hello Everyone, im new to mcreator and i need help about mob attack inconsistency.
I have created a custom mob and made it aggresive but it have inconsistency in dealing damage, sometimes the mob just stare at me and wait until i move then it will deal damage to me, here's a video :
Here's my block procedure :
https://drive.google.com/file/d/1t4kQnT7g0y-jnxxTBHTiQI5zDgYVnP7M/view?usp=sharing
i've tried to checked in sight only or nearby only but the result still the same
Sorry for bad english
thank you for reading
EDIT :
the above mob and footage is in 2024.1 version and i havent updated that workspace.
so heres a new custom mob footage, and screenshots with the same problem as the above custom mob
Ai and Goals : https://drive.google.com/file/d/13cHiwNnSYoECitNeK21VnlzuSSNG1gT4/view?usp=sharing
custom mob footage : https://youtu.be/3FsEMIx5YVI
mob hitbox settings : https://drive.google.com/file/d/1gh8LDoJcbBxFX7KC85CLFUYR3NNJx-c6/view?usp=sharing
i still need help with this if anyone might be able to offer some advice, pls reply
Can you make a Screenshot of the entire "AI and Goals" Screen?
hello thank you so much for responding, i have updated the topic
i lowered the custom mob width/depht to 0.875,the custom mob gap problem between it and its target become smaller but still sometimes the mob stop attacking its target and just starring at it
I think the priority of the AI Tasks are important (but I'm not sure). There is a Template for an AI Task to make the entity attack the player. Try that and recreate your AI Tasks in the right order.
i tried the ai template thing, used the "mob aggressive towards player" at first the problem still the same because the mob gap, but then i add the combat range block procedure on top of combat melee and it WORKS :D the mob now attack the player and even push the player. i didn't know theres an ai template thing and now i know it really help me with the ai priority management.
Thank you :D
i experiment it a bit and turns out in order for a mob attack its target properly you have to use both combat melee and range attack block procedures, place the range one on top of the melee one, check the (chase after lost sight) only for the melee one and DON'T check the range one.
so i guess it is a bug.