config todos and cleanup
@@ -21,48 +21,27 @@ public class ConfigHandler {
}
public BooleanValue allowCodebreakerItem;
-
public BooleanValue allowAdminTool;
-
public BooleanValue shouldSpawnFire;
-
public BooleanValue ableToBreakMines;
-
public BooleanValue ableToCraftKeycard1;
-
public BooleanValue ableToCraftKeycard2;
-
public BooleanValue ableToCraftKeycard3;
-
public BooleanValue ableToCraftKeycard4;
-
public BooleanValue ableToCraftKeycard5;
-
public BooleanValue ableToCraftLUKeycard;
-
public BooleanValue smallerMineExplosion;
-
public BooleanValue mineExplodesWhenInCreative;
-
public DoubleValue portableRadarSearchRadius;
public IntValue usernameLoggerSearchRadius;
-
public IntValue laserBlockRange;
-
public IntValue alarmTickDelay;
-
public IntValue portableRadarDelay;
-
public IntValue claymoreRange;
-
public IntValue imsRange;
-
public IntValue inventoryScannerRange;
-
public DoubleValue motionActivatedLightSearchRadius;
-
public BooleanValue debug;
-
public BooleanValue allowBlockClaim;
public ServerConfig(ForgeConfigSpec.Builder builder)
@@ -83,42 +62,49 @@ public class ConfigHandler {
.comment("config.securitycraft:shouldSpawnFire.tooltip")
.define("shouldSpawnFire", true);
+ //TODO: worldRestart() -> mcRestart() once available
ableToBreakMines = builder
.translation("config.securitycraft:ableToBreakMines")
.comment("config.securitycraft:ableToBreakMines.tooltip")
.worldRestart()
.define("ableToBreakMines", true);
+ //TODO: worldRestart() -> mcRestart() once available
ableToCraftKeycard1 = builder
.translation("config.securitycraft:ableToCraftKeycard1")
.comment("config.securitycraft:ableToCraftKeycard1.tooltip")
.worldRestart()
.define("ableToCraftKeycard1", true);
+ //TODO: worldRestart() -> mcRestart() once available
ableToCraftKeycard2 = builder
.translation("config.securitycraft:ableToCraftKeycard2")
.comment("config.securitycraft:ableToCraftKeycard2.tooltip")
.worldRestart()
.define("ableToCraftKeycard2", true);
+ //TODO: worldRestart() -> mcRestart() once available
ableToCraftKeycard3 = builder
.translation("config.securitycraft:ableToCraftKeycard3")
.comment("config.securitycraft:ableToCraftKeycard3.tooltip")
.worldRestart()
.define("ableToCraftKeycard3", true);
+ //TODO: worldRestart() -> mcRestart() once available
ableToCraftKeycard4 = builder
.translation("config.securitycraft:ableToCraftKeycard4")
.comment("config.securitycraft:ableToCraftKeycard4.tooltip")
.worldRestart()
.define("ableToCraftKeycard4", true);
+ //TODO: worldRestart() -> mcRestart() once available
ableToCraftKeycard5 = builder
.translation("config.securitycraft:ableToCraftKeycard5")
.comment("config.securitycraft:ableToCraftKeycard5.tooltip")
.worldRestart()
.define("ableToCraftKeycard5", true);
+ //TODO: worldRestart() -> mcRestart() once available
ableToCraftLUKeycard = builder
.translation("config.securitycraft:ableToCraftLUKeycard")
.comment("config.securitycraft:ableToCraftLUKeycard.tooltip")
@@ -197,7 +183,6 @@ public class ConfigHandler {
public static final ClientConfig CONFIG;
public BooleanValue sayThanksMessage;
-
public BooleanValue checkForUpdates;
public DoubleValue alarmSoundVolume;
@@ -233,5 +218,4 @@ public class ConfigHandler {
.defineInRange("cameraSpeed", 2.0D, 0.0D, Double.MAX_VALUE);
}
}
-
}
