diff --git a/FEATURES.md b/FEATURES.md
index 98bae9e2..172b2f87 100644
--- a/FEATURES.md
+++ b/FEATURES.md
@@ -38,6 +38,7 @@ And finally `GoalComposite`. `GoalComposite` is a list of other goals, any one o
Things it doesn't have yet
- Trapdoors
- Sprint jumping in a 1x2 corridor
+- Parkour (jumping over gaps of any length) [IN PROGRESS]
See issues for more.
diff --git a/src/main/java/baritone/pathing/goals/GoalGetToBlock.java b/src/main/java/baritone/pathing/goals/GoalGetToBlock.java
index ed927a12..30937772 100644
--- a/src/main/java/baritone/pathing/goals/GoalGetToBlock.java
+++ b/src/main/java/baritone/pathing/goals/GoalGetToBlock.java
@@ -47,8 +47,8 @@ public class GoalGetToBlock implements Goal {
int xDiff = pos.getX() - this.x;
int yDiff = pos.getY() - this.y;
int zDiff = pos.getZ() - this.z;
- if (yDiff == -2 && xDiff == 0 && zDiff == 0) {
- return true;
+ if (yDiff < 0) {
+ yDiff++;
}
return Math.abs(xDiff) + Math.abs(yDiff) + Math.abs(zDiff) <= 1;
}
diff --git a/src/test/java/baritone/pathing/goals/GoalGetToBlockTest.java b/src/test/java/baritone/pathing/goals/GoalGetToBlockTest.java
index 3c3905aa..a908a8dd 100644
--- a/src/test/java/baritone/pathing/goals/GoalGetToBlockTest.java
+++ b/src/test/java/baritone/pathing/goals/GoalGetToBlockTest.java
@@ -30,7 +30,7 @@ public class GoalGetToBlockTest {
@Test
public void isInGoal() {
- List acceptableOffsets = new ArrayList<>(Arrays.asList("0,0,0", "0,0,1", "0,0,-1", "1,0,0", "-1,0,0", "0,1,0", "0,-1,0", "0,-2,0"));
+ List acceptableOffsets = new ArrayList<>(Arrays.asList("0,0,0", "0,0,1", "0,0,-1", "1,0,0", "-1,0,0", "0,-1,1", "0,-1,-1", "1,-1,0", "-1,-1,0", "0,1,0", "0,-1,0", "0,-2,0"));
for (int x = -10; x <= 10; x++) {
for (int y = -10; y <= 10; y++) {
for (int z = -10; z <= 10; z++) {