add goal axis and fix movement fall path detection

This commit is contained in:
Leijurv
2018-09-15 12:51:37 -07:00
parent a978ddec08
commit 27b9324cf1
10 changed files with 100 additions and 17 deletions

View File

@@ -119,6 +119,12 @@ public class ExampleBaritoneControl extends Behavior implements Helper {
event.cancel();
return;
}
if (msg.equals("axis")) {
PathingBehavior.INSTANCE.setGoal(new GoalAxis());
PathingBehavior.INSTANCE.path();
event.cancel();
return;
}
if (msg.toLowerCase().equals("cancel")) {
MineBehavior.INSTANCE.cancel();
FollowBehavior.INSTANCE.cancel();