ScottehBoeh Posted January 2, 2016 Posted January 2, 2016 Before you answer: You're going to redirect me to the Ghast. I've already overrided the ghasts tick update. I'm looking for a quick solution to have my flying entity helicopter wander around in the sky at a reasonable speed. Thanks! Quote http://i.imgur.com/vmqyxTE.png[/img]
coolAlias Posted January 2, 2016 Posted January 2, 2016 At its most fundamental, all you need to do is choose a random location, move there, and then choose another random location and move there, on and on forever. Ghasts do this when they don't have a target, so what does your helicopter do when using that same code? What have you tried, and what about it is not working? Quote http://i.imgur.com/NdrFdld.png[/img]
coolAlias Posted January 2, 2016 Posted January 2, 2016 There is an AI function already made for random flying. I use it in my flying skull mobs That was my point - that AI is copied directly from the 1.8 version of the Ghast (why they didn't make the AI public, who knows), which, in combination with the new GhastMoveHelper, is just an encapsulated version of the same code they had used in the #updateEntityActionState in 1.7.10. The OP claims to have already looked at that code and found it wanting, which brings us back to square one. OP, what have you tried, and what about it isn't doing what you expect? Quote http://i.imgur.com/NdrFdld.png[/img]
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.