Posted March 3, 20223 yr I've been searching through the Entity class and the internet, but I can't seem to find an answer. How do I make a mob walk to a location like it would towards a mob? setPosition immediately teleports it and tryMoveToXYZ tells me it can't find the getNavigator method from Entity.java. Edited March 3, 20223 yr by yaboytommy123
March 4, 20223 yr take a look at LivingEntity it's the super class for all Entities like Pig, Cow, ... I remember there was a method to set the position that the entity walks/move to. Unfortunately I'm not at my PC, so I can't look into the code, but you could check out the WalkGoals Edited March 4, 20223 yr by Luis_ST
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.