move fields to the top

This commit is contained in:
Leijurv 2019-04-02 21:40:33 -08:00
parent ccc3de2d7c
commit 71a2219b07
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A

View File

@ -56,10 +56,6 @@ import static baritone.api.pathing.movement.ActionCosts.COST_INF;
public class BuilderProcess extends BaritoneProcessHelper implements IBuilderProcess {
public BuilderProcess(Baritone baritone) {
super(baritone);
}
private HashSet<BetterBlockPos> incorrectPositions;
private String name;
private ISchematic schematic;
@ -67,6 +63,10 @@ public class BuilderProcess extends BaritoneProcessHelper implements IBuilderPro
private int ticks;
private boolean paused;
public BuilderProcess(Baritone baritone) {
super(baritone);
}
public boolean build(String schematicFile, BlockPos origin) {
File file = new File(new File(Minecraft.getMinecraft().gameDir, "schematics"), schematicFile);
System.out.println(file + " " + file.exists());