From fa8f2632f546d48be6d172c7aec9ae3aed3e3116 Mon Sep 17 00:00:00 2001 From: Leijurv Date: Tue, 12 Mar 2019 18:58:35 -0700 Subject: [PATCH] dont jump while breaking --- .../java/baritone/pathing/movement/movements/MovementPillar.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/baritone/pathing/movement/movements/MovementPillar.java b/src/main/java/baritone/pathing/movement/movements/MovementPillar.java index d725d95f..d8ab5fef 100644 --- a/src/main/java/baritone/pathing/movement/movements/MovementPillar.java +++ b/src/main/java/baritone/pathing/movement/movements/MovementPillar.java @@ -235,6 +235,7 @@ public class MovementPillar extends Movement { if (reachable.isPresent()) { state.setTarget(new MovementState.MovementTarget(reachable.get(), true)); } + state.setInput(Input.JUMP, false); // breaking is like 5x slower when you're jumping state.setInput(Input.CLICK_LEFT, true); blockIsThere = false; } else if (ctx.player().isSneaking() && (Objects.equals(src.down(), ctx.objectMouseOver().getBlockPos()) || Objects.equals(src, ctx.objectMouseOver().getBlockPos())) && ctx.player().posY > dest.getY() + 0.1) {