From 12bbd57a247d2323f7d3c8cb7b2ba6b363f4470c Mon Sep 17 00:00:00 2001 From: Leijurv Date: Sat, 17 Nov 2018 16:09:03 -0800 Subject: [PATCH 1/2] standalone build shouldn't keep ExampleBaritoneControl --- scripts/proguard.pro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/proguard.pro b/scripts/proguard.pro index a13a0e3f1..270a06317 100644 --- a/scripts/proguard.pro +++ b/scripts/proguard.pro @@ -19,7 +19,7 @@ -keep class baritone.api.IBaritoneProvider # hack --keep class baritone.utils.ExampleBaritoneControl { *; } +-keep class baritone.utils.ExampleBaritoneControl { *; } # have to include this string to remove this keep in the standalone build: # this is the keep api # setting names are reflected from field names, so keep field names -keepclassmembers class baritone.api.Settings { From 4fb6c71174e49211d35c54df793819a04aa70d1c Mon Sep 17 00:00:00 2001 From: Leijurv Date: Sun, 18 Nov 2018 17:32:16 -0800 Subject: [PATCH 2/2] lol --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 445d34bb7..e458484a9 100644 --- a/README.md +++ b/README.md @@ -58,8 +58,7 @@ Quick start example: `thisway 1000` or `goal 70` to set the goal, `path` to actu BaritoneAPI.getSettings().allowSprint.value = true; BaritoneAPI.getSettings().pathTimeoutMS.value = 2000L; -BaritoneAPI.getPathingBehavior().setGoal(new GoalXZ(10000, 20000)); -BaritoneAPI.getPathingBehavior().path(); +BaritoneAPI.getProvider().getPrimaryBaritone().getCustomGoalProcess().setGoalAndPath(new GoalXZ(10000, 20000)); ``` # FAQ