clowcadia Posted March 14, 2017 Posted March 14, 2017 Looking through task ais, its quite complicated, i wonder if anyone can set me in the right direction Quote
clowcadia Posted March 14, 2017 Author Posted March 14, 2017 Tried this, https://github.com/Clowcadia/MinecraftForge/blob/master/1.11/NPCTesting/src/main/java/com/clowcadia/test/entities/Test.java https://github.com/Clowcadia/MinecraftForge/blob/master/1.11/NPCTesting/src/main/java/com/clowcadia/test/ai/TaskAIGoTo.java Quote
clowcadia Posted March 15, 2017 Author Posted March 15, 2017 found something on github that fixed it, code from 2012 none the less... Quote
clowcadia Posted March 15, 2017 Author Posted March 15, 2017 nvm, it only work when the game is nto totally loaded Quote
clowcadia Posted March 15, 2017 Author Posted March 15, 2017 updated link https://github.com/Clowcadia/MinecraftForge/blob/master/1.11/NPCTesting/src/main/java/com/clowcadia/test/entities/living/ai/AIGoto.java Quote
Leomelonseeds Posted March 15, 2017 Posted March 15, 2017 Any errors in the console? Quote Apparently I'm addicted to these forums and can't help but read all the posts. So if I somehow help you, please click the "Like This" button, it helps.
Leomelonseeds Posted March 15, 2017 Posted March 15, 2017 Look at EntityWolf.class and see how minecraft does it. Im pretty sure you need vectors and stuff... Quote Apparently I'm addicted to these forums and can't help but read all the posts. So if I somehow help you, please click the "Like This" button, it helps.
clowcadia Posted March 15, 2017 Author Posted March 15, 2017 no errors, just not executing \ entityWolf is the class i have been following along with entityAIFolowOwner Quote
Matryoshika Posted March 15, 2017 Posted March 15, 2017 Use the entity's getNavigator().tryMoveToXYZ() method. Quote Also previously known as eAndPi. "Pi, is there a station coming up where we can board your train of thought?" -Kronnn Published Mods: Underworld Handy links: Vic_'s Forge events Own WIP Tutorials.
Recommended Posts
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.