Hello users! So,I have one big problem I can't solve with EntityAIWander. When I add this task to my new class mob, it just does nothing. The mob stays still but also used memory is increasing. It takes about 1 minute to go from 20% used memory to 99%. On 99% its just not responding (no crashes) and I have to terminate the process. Also there are no any crash messages in console. After some small research I managed to find out that the line,on which its all happening is this(in the EntityAIWander class):
this.entity.getNavigator().tryMoveToXYZ(this.xPosition, this.yPosition, this.zPosition, this.speed);
And here is my full mob class code. However I dont see how it could help solving the problem.Sorry if the problem is obvious,I just started codding.