From 050e3a570dff219bbbb168cccae468f81c8fa260 Mon Sep 17 00:00:00 2001 From: leijurv Date: Mon, 14 Aug 2023 21:56:41 -0700 Subject: [PATCH] bedrock is much lower now, although worth considering if deepslate needs similar special treatment --- src/main/java/baritone/cache/CachedChunk.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/baritone/cache/CachedChunk.java b/src/main/java/baritone/cache/CachedChunk.java index 3109d9293..2659c4feb 100644 --- a/src/main/java/baritone/cache/CachedChunk.java +++ b/src/main/java/baritone/cache/CachedChunk.java @@ -218,7 +218,7 @@ public final class CachedChunk { // nether roof is always unbreakable return Blocks.BEDROCK.defaultBlockState(); } - if (y < 5 && dimension.natural()) { + if (y < -59 && dimension.natural()) { // solid blocks below 5 are commonly bedrock // however, returning bedrock always would be a little yikes // discourage paths that include breaking blocks below 5 a little more heavily just so that it takes paths breaking what's known to be stone (at 5 or above) instead of what could maybe be bedrock (below 5)