[F] Remove air block when pruning
This commit is contained in:
@@ -409,6 +409,9 @@ public final class MineProcess extends BaritoneProcessHelper implements IMinePro
|
||||
// remove any that are within loaded chunks that aren't actually what we want
|
||||
.filter(pos -> settings().mineWithSeed.value || !ctx.bsi.worldContainsLoadedChunk(pos.getX(), pos.getZ()) || filter.has(ctx.get(pos.getX(), pos.getY(), pos.getZ())) || dropped.contains(pos))
|
||||
|
||||
// Hyritone: remove air
|
||||
.filter(pos -> !settings().mineWithSeed.value || !ctx.get(pos).isAir() || dropped.contains(pos))
|
||||
|
||||
// remove any that are implausible to mine (encased in bedrock, or touching lava)
|
||||
.filter(pos -> MineProcess.plausibleToBreak(ctx, pos))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user