three things:

- logger is carpet, fixes #522
 - fixed fancy commands to functions - so could be used later with lambdas and functions that use different argument names
 - moved a few builtin apps to commands via /carpet
This commit is contained in:
gnembon committed 2020-11-03 04:45:08 -04:00
1 parent 68cd896376
commit 741edf1465
7 files changed
+67 -30

No files matched your search

+27 -1
View File
@@ -37,7 +37,7 @@ import static carpet.settings.RuleCategory.CLIENT;
public class CarpetSettings
{
public static final String carpetVersion = "1.4.15+v201102";
public static final Logger LOG = LogManager.getLogger();
public static final Logger LOG = LogManager.getLogger("carpet");
public static boolean skipGenerationChecks = false;
public static boolean impendingFillSkipUpdates = false;
public static Box currentTelepotingEntityBox = null;
@@ -71,6 +71,32 @@ public class CarpetSettings
)
public static String language = "none";
@Rule(
desc = "Turns on internal camera path tracing app",
extra = "Controlled via 'camera' command",
category = {COMMAND, SCARPET},
appSource = "camera"
)
public static boolean commandCamera = true;
@Rule(
desc = "Allows to add extra graphical debug information",
extra = "Controlled via 'overlay' command",
category = {COMMAND, SCARPET},
appSource = "overlay"
)
public static boolean commandOverlay = true;
@Rule(
desc = "Turns on extra information about mobs above and around them",
extra = "Controlled via 'ai_tracker' command",
category = {COMMAND, SCARPET},
appSource = "ai_tracker"
)
public static boolean commandAITracker = true;
@Rule(desc = "Gbhs sgnf sadsgras fhskdpri!", category = EXPERIMENTAL)
public static boolean superSecretSetting = false;