From 008422680dfd03b220cbb44f87f548f3549a3631 Mon Sep 17 00:00:00 2001 From: Leijurv Date: Wed, 5 Sep 2018 21:08:18 -0700 Subject: [PATCH 1/2] that should NOT have been there --- .../java/baritone/pathing/movement/CalculationContext.java | 1 - .../baritone/pathing/movement/movements/MovementParkour.java | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 src/main/java/baritone/pathing/movement/movements/MovementParkour.java diff --git a/src/main/java/baritone/pathing/movement/CalculationContext.java b/src/main/java/baritone/pathing/movement/CalculationContext.java index 2aca1f82..bd05ec5e 100644 --- a/src/main/java/baritone/pathing/movement/CalculationContext.java +++ b/src/main/java/baritone/pathing/movement/CalculationContext.java @@ -46,7 +46,6 @@ public class CalculationContext implements Helper { } public CalculationContext(ToolSet toolSet) { - player().setSprinting(true); this.toolSet = toolSet; this.hasThrowaway = Baritone.settings().allowPlace.get() && MovementHelper.throwaway(false); this.hasWaterBucket = Baritone.settings().allowWaterBucketFall.get() && InventoryPlayer.isHotbar(player().inventory.getSlotFor(STACK_BUCKET_WATER)) && !world().provider.isNether(); diff --git a/src/main/java/baritone/pathing/movement/movements/MovementParkour.java b/src/main/java/baritone/pathing/movement/movements/MovementParkour.java new file mode 100644 index 00000000..56d7cbce --- /dev/null +++ b/src/main/java/baritone/pathing/movement/movements/MovementParkour.java @@ -0,0 +1,4 @@ +package baritone.pathing.movement.movements; + +public class MovementParkour { +} From 8a7013d8d3963884a8dff8cf113766f604e7128b Mon Sep 17 00:00:00 2001 From: Leijurv Date: Wed, 5 Sep 2018 21:31:36 -0700 Subject: [PATCH 2/2] add readme for gradlew run --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index b95cc957..ba4897ee 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,14 @@ the original version of the bot for Minecraft 1.8, rebuilt for 1.12.2. ## Command Line On Mac OSX and Linux, use `./gradlew` instead of `gradlew`. + +Running Baritone: + +``` +$ gradlew run +``` + +Setting up for IntelliJ: ``` $ gradlew setupDecompWorkspace $ gradlew --refresh-dependencies