lol epic
This commit is contained in:
parent
9094c712d6
commit
1d931a4bb6
@ -109,7 +109,7 @@ public enum Baritone {
|
|||||||
PathingBehavior.INSTANCE
|
PathingBehavior.INSTANCE
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
if (BaritoneAutoTest.ENABLE_AUTO_TEST && "true".equals(System.getenv("BARITONE_AUTO_TEST"))) {
|
if (BaritoneAutoTest.ENABLE_AUTO_TEST) {
|
||||||
registerEventListener(BaritoneAutoTest.INSTANCE);
|
registerEventListener(BaritoneAutoTest.INSTANCE);
|
||||||
}
|
}
|
||||||
this.dir = new File(Minecraft.getMinecraft().gameDir, "baritone");
|
this.dir = new File(Minecraft.getMinecraft().gameDir, "baritone");
|
||||||
|
@ -37,7 +37,7 @@ public class BaritoneAutoTest implements AbstractGameEventListener, Helper {
|
|||||||
|
|
||||||
private BaritoneAutoTest() {}
|
private BaritoneAutoTest() {}
|
||||||
|
|
||||||
public static final boolean ENABLE_AUTO_TEST = true;
|
public static final boolean ENABLE_AUTO_TEST = "true".equals(System.getenv("BARITONE_AUTO_TEST"));
|
||||||
private static final long TEST_SEED = -928872506371745L;
|
private static final long TEST_SEED = -928872506371745L;
|
||||||
private static final BlockPos STARTING_POSITION = new BlockPos(0, 65, 0);
|
private static final BlockPos STARTING_POSITION = new BlockPos(0, 65, 0);
|
||||||
private static final Goal GOAL = new GoalBlock(69, 121, 420);
|
private static final Goal GOAL = new GoalBlock(69, 121, 420);
|
||||||
@ -47,7 +47,7 @@ public class BaritoneAutoTest implements AbstractGameEventListener, Helper {
|
|||||||
* Called right after the {@link GameSettings} object is created in the {@link Minecraft} instance.
|
* Called right after the {@link GameSettings} object is created in the {@link Minecraft} instance.
|
||||||
*/
|
*/
|
||||||
public void onPreInit() {
|
public void onPreInit() {
|
||||||
if (!BaritoneAutoTest.ENABLE_AUTO_TEST || !"true".equals(System.getenv("BARITONE_AUTO_TEST"))) {
|
if (!BaritoneAutoTest.ENABLE_AUTO_TEST) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
System.out.println("Optimizing Game Settings");
|
System.out.println("Optimizing Game Settings");
|
||||||
|
Loading…
Reference in New Issue
Block a user