diff options
author | boubou19 <miisterunknown@gmail.com> | 2024-08-21 18:40:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-21 18:40:21 +0200 |
commit | 15208bb959da3d192c6dfa44a4f029544e98ddd8 (patch) | |
tree | 6273f3eb4149c7e86c3cee6a775ad2eebad85958 /src/main/java/gregtech/api/util | |
parent | e6687f29ada12095e896855c4b22f8e0bdb2989f (diff) | |
download | GT5-Unofficial-15208bb959da3d192c6dfa44a4f029544e98ddd8.tar.gz GT5-Unofficial-15208bb959da3d192c6dfa44a4f029544e98ddd8.tar.bz2 GT5-Unofficial-15208bb959da3d192c6dfa44a4f029544e98ddd8.zip |
Cleaning up GT5U's post init (#2932)
* wrap MTE ids print into a debug option
* remove EnsureToBeLoadedLast config
* exit early
* spotless apply
* making collision checks optional by default
---------
Co-authored-by: Martin Robertz <dream-master@gmx.net>
Diffstat (limited to 'src/main/java/gregtech/api/util')
-rw-r--r-- | src/main/java/gregtech/api/util/GT_RecipeBuilder.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/main/java/gregtech/api/util/GT_RecipeBuilder.java b/src/main/java/gregtech/api/util/GT_RecipeBuilder.java index e8ae449c2d..137b7d6c86 100644 --- a/src/main/java/gregtech/api/util/GT_RecipeBuilder.java +++ b/src/main/java/gregtech/api/util/GT_RecipeBuilder.java @@ -37,13 +37,20 @@ public class GT_RecipeBuilder { // debug mode expose problems. panic mode help you check nothing is wrong-ish without you actively monitoring private static final boolean DEBUG_MODE_NULL; + // Any stable release should be tested at least once with this: -Dgt.recipebuilder.panic.null=true private static boolean PANIC_MODE_NULL; private static final boolean DEBUG_MODE_INVALID; private static final boolean DEBUG_MODE_FULL_ENERGY; + // Any stable release should be tested at least once with this: -Dgt.recipebuilder.panic.invalid=true private static final boolean PANIC_MODE_INVALID; private static final boolean DEBUG_MODE_COLLISION; + + // Any stable release should be tested at least once with this: -Dgt.recipebuilder.panic.collision=true private static final boolean PANIC_MODE_COLLISION; + // This should only be enabled in non stable instances only with -Dgt.recipebuilder.recipe_collision_check=true + public static final boolean ENABLE_COLLISION_CHECK; + public static final int WILDCARD = 32767; // time units @@ -78,6 +85,7 @@ public class GT_RecipeBuilder { PANIC_MODE_NULL = panicAll || Boolean.getBoolean("gt.recipebuilder.panic.null"); PANIC_MODE_INVALID = panicAll || Boolean.getBoolean("gt.recipebuilder.panic.invalid"); PANIC_MODE_COLLISION = panicAll || Boolean.getBoolean("gt.recipebuilder.panic.collision"); + ENABLE_COLLISION_CHECK = Boolean.getBoolean("gt.recipebuilder.recipe_collision_check"); } protected ItemStack[] inputsBasic = new ItemStack[0]; |