Started by
BobEsBeans
on
Topic category: Help with Minecraft modding (Java Edition)
Okay so I haven't been able to find anything like this, if there is a forum that explains this please link me to it.
So basically,
- I want my mob to spawn at the nearest water source if a player kills a villager. (Not important as of now but would still be helpful)
- Every time the player kills a villager it adds to a global variable. (This is done)
- I want my mob to be able to load chunks near it and path find to the player no matter how far they are away.
- Eventually I want them to path find to whatever player has the highest amount of villager kills.
Now what I've tried to do is make an attack condition in the AI and goals section to do this but what ends up happening is my mob just wanders around like he's not aggroed on the player, if I take the condition off he aggros but then he cant find me after I get so far away. I have the follow and tracking ranges at their max.
Any help on any of these would be extremely helpful!
AI and goals:
Attack Condition:

Edited by BobEsBeans on Sat, 11/08/2025 - 21:42