move fields to the top
This commit is contained in:
parent
ccc3de2d7c
commit
71a2219b07
@ -55,11 +55,7 @@ import java.util.stream.Collectors;
|
|||||||
import static baritone.api.pathing.movement.ActionCosts.COST_INF;
|
import static baritone.api.pathing.movement.ActionCosts.COST_INF;
|
||||||
|
|
||||||
public class BuilderProcess extends BaritoneProcessHelper implements IBuilderProcess {
|
public class BuilderProcess extends BaritoneProcessHelper implements IBuilderProcess {
|
||||||
|
|
||||||
public BuilderProcess(Baritone baritone) {
|
|
||||||
super(baritone);
|
|
||||||
}
|
|
||||||
|
|
||||||
private HashSet<BetterBlockPos> incorrectPositions;
|
private HashSet<BetterBlockPos> incorrectPositions;
|
||||||
private String name;
|
private String name;
|
||||||
private ISchematic schematic;
|
private ISchematic schematic;
|
||||||
@ -67,6 +63,10 @@ public class BuilderProcess extends BaritoneProcessHelper implements IBuilderPro
|
|||||||
private int ticks;
|
private int ticks;
|
||||||
private boolean paused;
|
private boolean paused;
|
||||||
|
|
||||||
|
public BuilderProcess(Baritone baritone) {
|
||||||
|
super(baritone);
|
||||||
|
}
|
||||||
|
|
||||||
public boolean build(String schematicFile, BlockPos origin) {
|
public boolean build(String schematicFile, BlockPos origin) {
|
||||||
File file = new File(new File(Minecraft.getMinecraft().gameDir, "schematics"), schematicFile);
|
File file = new File(new File(Minecraft.getMinecraft().gameDir, "schematics"), schematicFile);
|
||||||
System.out.println(file + " " + file.exists());
|
System.out.println(file + " " + file.exists());
|
||||||
|
Loading…
Reference in New Issue
Block a user