Introduce startAtLayer to start building at a specific layer in the schematic. To be used only with buildWithLayers true.

This commit is contained in:
orsondmc
2020-08-06 16:23:13 +10:00
parent a25afd5c13
commit 7081cf7172
2 changed files with 8 additions and 2 deletions

View File

@@ -97,7 +97,7 @@ public final class BuilderProcess extends BaritoneProcessHelper implements IBuil
}
this.origin = new Vec3i(x, y, z);
this.paused = false;
this.layer = 0;
this.layer = Baritone.settings().startAtLayer.value;
this.numRepeats = 0;
this.observedCompleted = new LongOpenHashSet();
}
@@ -743,7 +743,7 @@ public final class BuilderProcess extends BaritoneProcessHelper implements IBuil
name = null;
schematic = null;
realSchematic = null;
layer = 0;
layer = Baritone.settings().startAtLayer.value;
numRepeats = 0;
paused = false;
observedCompleted = null;