bedrock is much lower now, although worth considering if deepslate needs similar special treatment

This commit is contained in:
leijurv
2023-08-14 21:56:41 -07:00
committed by GitHub
parent bafd41837e
commit 050e3a570d

View File

@@ -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)