aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/common/config
diff options
context:
space:
mode:
authorboubou19 <miisterunknown@gmail.com>2024-09-12 22:30:04 +0200
committerGitHub <noreply@github.com>2024-09-12 20:30:04 +0000
commitdbc10704fdbff100d1ae592aa0ddf1dc8b1aeca0 (patch)
tree0f31ac23d82fedee110d63dd36133b3922eb5095 /src/main/java/gregtech/common/config
parent4603dfdeb2ec5c0c4fc322d3e5dd7a692d69508d (diff)
downloadGT5-Unofficial-dbc10704fdbff100d1ae592aa0ddf1dc8b1aeca0.tar.gz
GT5-Unofficial-dbc10704fdbff100d1ae592aa0ddf1dc8b1aeca0.tar.bz2
GT5-Unofficial-dbc10704fdbff100d1ae592aa0ddf1dc8b1aeca0.zip
Merge config categories (#3152)
Co-authored-by: miozune <miozune@gmail.com> Co-authored-by: Martin Robertz <dream-master@gmx.net>
Diffstat (limited to 'src/main/java/gregtech/common/config')
-rw-r--r--src/main/java/gregtech/common/config/Client.java245
-rw-r--r--src/main/java/gregtech/common/config/Gregtech.java685
-rw-r--r--src/main/java/gregtech/common/config/MachineStats.java169
-rw-r--r--src/main/java/gregtech/common/config/OPStuff.java (renamed from src/main/java/gregtech/common/config/opstuff/ConfigGeneral.java)6
-rw-r--r--src/main/java/gregtech/common/config/Other.java (renamed from src/main/java/gregtech/common/config/other/ConfigGeneral.java)6
-rw-r--r--src/main/java/gregtech/common/config/Worldgen.java80
-rw-r--r--src/main/java/gregtech/common/config/client/ConfigColorModulation.java25
-rw-r--r--src/main/java/gregtech/common/config/client/ConfigInterface.java29
-rw-r--r--src/main/java/gregtech/common/config/client/ConfigPreference.java21
-rw-r--r--src/main/java/gregtech/common/config/client/ConfigRender.java46
-rw-r--r--src/main/java/gregtech/common/config/client/ConfigWaila.java21
-rw-r--r--src/main/java/gregtech/common/config/gregtech/ConfigDebug.java79
-rw-r--r--src/main/java/gregtech/common/config/gregtech/ConfigFeatures.java34
-rw-r--r--src/main/java/gregtech/common/config/gregtech/ConfigGeneral.java254
-rw-r--r--src/main/java/gregtech/common/config/gregtech/ConfigHarvestLevel.java28
-rw-r--r--src/main/java/gregtech/common/config/gregtech/ConfigMachines.java147
-rw-r--r--src/main/java/gregtech/common/config/gregtech/ConfigOreDropBehavior.java24
-rw-r--r--src/main/java/gregtech/common/config/gregtech/ConfigPollution.java129
-rw-r--r--src/main/java/gregtech/common/config/machinestats/ConfigBronzeSolarBoiler.java32
-rw-r--r--src/main/java/gregtech/common/config/machinestats/ConfigMachines.java34
-rw-r--r--src/main/java/gregtech/common/config/machinestats/ConfigMassFabricator.java33
-rw-r--r--src/main/java/gregtech/common/config/machinestats/ConfigMicrowaveEnergyTransmitter.java28
-rw-r--r--src/main/java/gregtech/common/config/machinestats/ConfigSteelSolarBoiler.java32
-rw-r--r--src/main/java/gregtech/common/config/machinestats/ConfigTeleporter.java28
-rw-r--r--src/main/java/gregtech/common/config/worldgen/ConfigEndAsteroids.java33
-rw-r--r--src/main/java/gregtech/common/config/worldgen/ConfigGeneral.java48
26 files changed, 1185 insertions, 1111 deletions
diff --git a/src/main/java/gregtech/common/config/Client.java b/src/main/java/gregtech/common/config/Client.java
new file mode 100644
index 0000000000..f871b846a4
--- /dev/null
+++ b/src/main/java/gregtech/common/config/Client.java
@@ -0,0 +1,245 @@
+package gregtech.common.config;
+
+import static gregtech.api.recipe.RecipeCategorySetting.ENABLE;
+
+import com.gtnewhorizon.gtnhlib.config.Config;
+
+import gregtech.api.enums.Mods;
+import gregtech.api.recipe.RecipeCategorySetting;
+
+@Config(modid = Mods.Names.GREG_TECH, category = "client", configSubDirectory = "GregTech", filename = "Client")
+@Config.LangKey("GT5U.gui.config.client")
+public class Client {
+
+ @Config.Comment("Color Modulation section")
+ public static final ColorModulation colorModulation = new ColorModulation();
+
+ @Config.Comment("Interface section")
+ public static final Interface iface = new Interface();
+
+ @Config.Comment("Preference section")
+ public static final Preference preference = new Preference();
+
+ @Config.Comment("Render section")
+ public static final Render render = new Render();
+
+ @Config.Comment("Waila section")
+ public static final Waila waila = new Waila();
+
+ @Config.Comment("NEI section")
+ public static final NEI nei = new NEI();
+
+ @Config.LangKey("GT5U.gui.config.client.color_modulation")
+ public static class ColorModulation {
+
+ @Config.Comment("RGB values for the cable insulation color modulation.")
+ public CableInsulation cableInsulation = new CableInsulation();
+
+ @Config.Comment("RGB values for the construction foam color modulation.")
+ public ConstructionFoam constructionFoam = new ConstructionFoam();
+
+ @Config.Comment("RGB values for the machine metal color modulation (default GUI color).")
+ public MachineMetal machineMetal = new MachineMetal();
+
+ @Config.LangKey("GT5U.gui.config.client.color_modulation.cable_insulation")
+ public static class CableInsulation {
+
+ @Config.DefaultInt(64)
+ public int red;
+
+ @Config.DefaultInt(64)
+ public int green;
+
+ @Config.DefaultInt(64)
+ public int blue;
+ }
+
+ @Config.LangKey("GT5U.gui.config.client.color_modulation.construction_foam")
+ public static class ConstructionFoam {
+
+ @Config.DefaultInt(64)
+ public int red;
+
+ @Config.DefaultInt(64)
+ public int green;
+
+ @Config.DefaultInt(64)
+ public int blue;
+ }
+
+ @Config.LangKey("GT5U.gui.config.client.color_modulation.machine_metal")
+ public static class MachineMetal {
+
+ @Config.DefaultInt(210)
+ public int red;
+
+ @Config.DefaultInt(220)
+ public int green;
+
+ @Config.DefaultInt(255)
+ public int blue;
+ }
+ }
+
+ @Config.LangKey("GT5U.gui.config.client.interface")
+ public static class Interface {
+
+ @Config.Comment("if true, makes cover tabs visible on GregTech machines.")
+ @Config.DefaultBoolean(true)
+ public boolean coverTabsVisible;
+
+ @Config.Comment("if true, puts the cover tabs display on the right of the UI instead of the left.")
+ @Config.DefaultBoolean(false)
+ public boolean coverTabsFlipped;
+
+ @Config.Comment("How verbose should tooltips be? 0: disabled, 1: one-line, 2: normal, 3+: extended.")
+ @Config.DefaultInt(2)
+ public int tooltipVerbosity;
+
+ @Config.Comment("How verbose should tooltips be when LSHIFT is held? 0: disabled, 1: one-line, 2: normal, 3+: extended.")
+ @Config.DefaultInt(3)
+ public int tooltipShiftVerbosity;
+
+ @Config.Comment("Which style to use for title tab on machine GUI? 0: text tab split-dark, 1: text tab unified, 2: item icon tab.")
+ @Config.DefaultInt(0)
+ public int titleTabStyle;
+ }
+
+ @Config.LangKey("GT5U.gui.config.client.preference")
+ public static class Preference {
+
+ @Config.Comment("if true, input filter will initially be on when input buses are placed in the world.")
+ @Config.DefaultBoolean(false)
+ public boolean inputBusInitialFilter;
+
+ @Config.Comment("if true, allow multistacks on single blocks by default when they are first placed in the world.")
+ @Config.DefaultBoolean(false)
+ public boolean singleBlockInitialAllowMultiStack;
+
+ @Config.Comment("if true, input filter will initially be on when machines are placed in the world.")
+ @Config.DefaultBoolean(false)
+ public boolean singleBlockInitialFilter;
+ }
+
+ @Config.LangKey("GT5U.gui.config.client.render")
+ public static class Render {
+
+ @Config.Comment("if true, enables ambient-occlusion smooth lighting on tiles.")
+ @Config.DefaultBoolean(true)
+ public boolean renderTileAmbientOcclusion;
+
+ @Config.Comment("if true, enables glowing of the machine controllers.")
+ @Config.DefaultBoolean(true)
+ public boolean renderGlowTextures;
+
+ @Config.Comment("if true, render flipped machine with flipped textures.")
+ @Config.DefaultBoolean(true)
+ public boolean renderFlippedMachinesFlipped;
+
+ @Config.Comment("if true, render indicators on hatches.")
+ @Config.DefaultBoolean(true)
+ public boolean renderIndicatorsOnHatch;
+
+ @Config.Comment("if true, enables dirt particles when pollution reaches the threshold.")
+ @Config.DefaultBoolean(true)
+ public boolean renderDirtParticles;
+
+ @Config.Comment("if true, enables pollution fog when pollution reaches the threshold.")
+ @Config.DefaultBoolean(true)
+ public boolean renderPollutionFog;
+
+ @Config.Comment("if true, enables the green -> red durability for an item's damage value.")
+ @Config.DefaultBoolean(true)
+ public boolean renderItemDurabilityBar;
+
+ @Config.Comment("if true, enables the blue charge bar for an electric item's charge.")
+ @Config.DefaultBoolean(true)
+ public boolean renderItemChargeBar;
+
+ @Config.Comment("enables BaseMetaTileEntity block updates handled by BlockUpdateHandler.")
+ @Config.DefaultBoolean(false)
+ public boolean useBlockUpdateHandler;
+ }
+
+ @Config.LangKey("GT5U.gui.config.client.waila")
+ public static class Waila {
+
+ /**
+ * This enables showing voltage tier of transformer for Waila, instead of raw voltage number
+ */
+ @Config.Comment("if true, enables showing voltage tier of transformer for Waila, instead of raw voltage number.")
+ @Config.DefaultBoolean(true)
+ public boolean wailaTransformerVoltageTier;
+
+ @Config.Comment("if true, enables showing voltage tier of transformer for Waila, instead of raw voltage number.")
+ @Config.DefaultBoolean(false)
+ public boolean wailaAverageNS;
+ }
+
+ @Config.LangKey("GT5U.gui.config.client.nei")
+ public static class NEI {
+
+ @Config.Comment("Recipe category section")
+ public final RecipeCategories recipeCategories = new RecipeCategories();
+
+ @Config.Comment("if true, shows the recipes using seconds (as opposed to ticks).")
+ @Config.DefaultBoolean(true)
+ public boolean NEIRecipeSecondMode;
+
+ @Config.Comment("if true, shows the mod which added the recipe.")
+ @Config.DefaultBoolean(false)
+ public boolean NEIRecipeOwner;
+
+ @Config.Comment("if true, show the stacktrace related to the recipe addition.")
+ @Config.DefaultBoolean(false)
+ public boolean NEIRecipeOwnerStackTrace;
+
+ @Config.Comment("if true, show original voltage when overclocked.")
+ @Config.DefaultBoolean(false)
+ public boolean NEIOriginalVoltage;
+
+ @Config.LangKey("GT5U.gui.config.client.nei.recipe_categories")
+ public static class RecipeCategories {
+
+ @Config.LangKey("gt.recipe.category.arc_furnace_recycling")
+ @Config.DefaultEnum("ENABLE")
+ public RecipeCategorySetting arcFurnaceRecycling = ENABLE;
+
+ @Config.LangKey("gt.recipe.category.plasma_arc_furnace_recycling")
+ @Config.DefaultEnum("ENABLE")
+ public RecipeCategorySetting plasmaArcFurnaceRecycling = ENABLE;
+
+ @Config.LangKey("gt.recipe.category.macerator_recycling")
+ @Config.DefaultEnum("ENABLE")
+ public RecipeCategorySetting maceratorRecycling = ENABLE;
+
+ @Config.LangKey("gt.recipe.category.fluid_extractor_recycling")
+ @Config.DefaultEnum("ENABLE")
+ public RecipeCategorySetting fluidExtractorRecycling = ENABLE;
+
+ @Config.LangKey("gt.recipe.category.alloy_smelter_recycling")
+ @Config.DefaultEnum("ENABLE")
+ public RecipeCategorySetting alloySmelterRecycling = ENABLE;
+
+ @Config.LangKey("gt.recipe.category.alloy_smelter_molding")
+ @Config.DefaultEnum("ENABLE")
+ public RecipeCategorySetting alloySmelterMolding = ENABLE;
+
+ @Config.LangKey("gt.recipe.category.forge_hammer_recycling")
+ @Config.DefaultEnum("ENABLE")
+ public RecipeCategorySetting forgeHammerRecycling = ENABLE;
+
+ @Config.LangKey("gt.recipe.category.tic_part_extruding")
+ @Config.DefaultEnum("ENABLE")
+ public RecipeCategorySetting ticPartExtruding = ENABLE;
+
+ @Config.LangKey("gt.recipe.category.tic_bolt_molding")
+ @Config.DefaultEnum("ENABLE")
+ public RecipeCategorySetting ticBoltMolding = ENABLE;
+
+ @Config.LangKey("gtpp.recipe.category.abs_non_alloy_recipes")
+ @Config.DefaultEnum("ENABLE")
+ public RecipeCategorySetting absNonAlloyRecipes = ENABLE;
+ }
+ }
+}
diff --git a/src/main/java/gregtech/common/config/Gregtech.java b/src/main/java/gregtech/common/config/Gregtech.java
new file mode 100644
index 0000000000..a293b6cba7
--- /dev/null
+++ b/src/main/java/gregtech/common/config/Gregtech.java
@@ -0,0 +1,685 @@
+package gregtech.common.config;
+
+import com.gtnewhorizon.gtnhlib.config.Config;
+
+import gregtech.api.enums.Mods;
+import gregtech.common.GTProxy;
+
+@Config(modid = Mods.Names.GREG_TECH, category = "gregtech", configSubDirectory = "GregTech", filename = "GregTech")
+@Config.LangKey("GT5U.gui.config.gregtech")
+public class Gregtech {
+
+ @Config.Comment("Debug section")
+ public static final Debug debug = new Debug();
+
+ @Config.Comment("Features section")
+ public static final Features features = new Features();
+
+ @Config.Comment("General section")
+ public static final General general = new General();
+
+ @Config.Comment("Harvest level section")
+ public static final HarvestLevel harvestLevel = new HarvestLevel();
+
+ @Config.Comment("Machines section")
+ public static final Machines machines = new Machines();
+
+ @Config.Comment("Ore drop behavior section")
+ public static final OreDropBehavior oreDropBehavior = new OreDropBehavior();
+
+ @Config.Comment("Pollution section")
+ public static final Pollution pollution = new Pollution();
+
+ @Config.LangKey("GT5U.gui.config.gregtech.debug")
+ public static class Debug {
+
+ @Config.Comment("enable D1 flag (a set of debug logs)")
+ @Config.DefaultBoolean(false)
+ @Config.RequiresMcRestart
+ public boolean D1;
+
+ @Config.Comment("enable D2 flag (another set of debug logs)")
+ @Config.DefaultBoolean(false)
+ @Config.RequiresMcRestart
+ public boolean D2;
+
+ @Config.Comment("This will prevent NEI from crashing but spams the Log.")
+ @Config.DefaultBoolean(false)
+ @Config.RequiresMcRestart
+ public boolean allowBrokenRecipeMap;
+
+ @Config.Comment("Debug parameters for cleanroom testing.")
+ @Config.DefaultBoolean(false)
+ @Config.RequiresMcRestart
+ public boolean debugCleanroom;
+
+ @Config.Comment("Debug parameter for driller testing.")
+ @Config.DefaultBoolean(false)
+ @Config.RequiresMcRestart
+ public boolean debugDriller;
+
+ @Config.Comment("Debug parameter for world generation. Tracks chunks added/removed from run queue.")
+ @Config.DefaultBoolean(false)
+ @Config.RequiresMcRestart
+ public boolean debugWorldgen;
+
+ @Config.Comment("Debug parameter for orevein generation.")
+ @Config.DefaultBoolean(false)
+ @Config.RequiresMcRestart
+ public boolean debugOrevein;
+
+ @Config.Comment("Debug parameter for small ore generation.")
+ @Config.DefaultBoolean(false)
+ @Config.RequiresMcRestart
+ public boolean debugSmallOres;
+
+ @Config.Comment("Debug parameter for stones generation.")
+ @Config.DefaultBoolean(false)
+ @Config.RequiresMcRestart
+ public boolean debugStones;
+
+ @Config.Comment("Debug parameter for single block miner.")
+ @Config.DefaultBoolean(false)
+ @Config.RequiresMcRestart
+ public boolean debugBlockMiner;
+
+ @Config.Comment("Debug parameter for single block pump.")
+ @Config.DefaultBoolean(false)
+ @Config.RequiresMcRestart
+ public boolean debugBlockPump;
+
+ @Config.Comment("Debug parameter for entity cramming reduction.")
+ @Config.DefaultBoolean(false)
+ @Config.RequiresMcRestart
+ public boolean debugEntityCramming;
+
+ @Config.Comment("Debug parameter for gregtech.api.util.GT_ChunkAssociatedData")
+ @Config.DefaultBoolean(false)
+ @Config.RequiresMcRestart
+ public boolean debugWorldData;
+
+ @Config.Comment("Debug parameter for chunk loaders.")
+ @Config.DefaultBoolean(false)
+ @Config.RequiresMcRestart
+ public boolean debugChunkloaders;
+ }
+
+ @Config.LangKey("GT5U.gui.config.gregtech.features")
+ public static class Features {
+
+ @Config.Comment("Controls the stacksize of tree related blocks.")
+ @Config.DefaultInt(64)
+ @Config.RequiresMcRestart
+ public int maxLogStackSize;
+
+ @Config.Comment("Controls the stacksize of every oredicted prefix based items used for blocks (if that even makes sense)")
+ @Config.DefaultInt(64)
+ @Config.RequiresMcRestart
+ public int maxOtherBlocksStackSize;
+
+ @Config.Comment("Controls the stacksize of oredicted planks.")
+ @Config.DefaultInt(64)
+ @Config.RequiresMcRestart
+ public int maxPlankStackSize;
+
+ @Config.Comment("Controls the stacksize of oredicted items used in ore treatment.")
+ @Config.DefaultInt(64)
+ @Config.RequiresMcRestart
+ public int maxOreStackSize;
+
+ @Config.Comment("Controls the stacksize of IC2 overclocker upgrades.")
+ @Config.DefaultInt(4)
+ @Config.RequiresMcRestart
+ public int upgradeStackSize;
+ }
+
+ @Config.LangKey("GT5U.gui.config.gregtech.general")
+ public static class General {
+
+ @Config.Comment("Control percentage of filled 3x3 chunks. Lower number means less oreveins spawn.")
+ @Config.DefaultInt(100)
+ @Config.RequiresMcRestart
+ public int oreveinPercentage;
+
+ @Config.Comment("Control number of attempts to find a valid orevein. Generally this maximum limit isn't hit, selecting a vein is cheap")
+ @Config.DefaultInt(64)
+ @Config.RequiresMcRestart
+ public int oreveinAttempts;
+
+ @Config.Comment("Control number of attempts to place a valid ore vein. If a vein wasn't placed due to height restrictions, completely in the water, etc, another attempt is tried.")
+ @Config.DefaultInt(8)
+ @Config.RequiresMcRestart
+ public int oreveinMaxPlacementAttempts;
+
+ @Config.Comment("Whether to place small ores as placer ores for an orevein.")
+ @Config.DefaultBoolean(true)
+ @Config.RequiresMcRestart
+ public boolean oreveinPlacerOres;
+
+ @Config.Comment("Multiplier to control how many placer ores get generated.")
+ @Config.DefaultInt(2)
+ @Config.RequiresMcRestart
+ public int oreveinPlacerOresMultiplier;
+
+ @Config.Comment("If true, enables the timber axe (cuts down whole tree in a single hit).")
+ @Config.DefaultBoolean(false)
+ @Config.RequiresMcRestart
+ public boolean timber;
+
+ @Config.Comment("If true, all the GT5U potions are always drinkable.")
+ @Config.DefaultBoolean(true)
+ @Config.RequiresMcRestart
+ public boolean drinksAlwaysDrinkable;
+
+ @Config.Comment("if true, shows all the metaitems in creative and in NEI.")
+ @Config.DefaultBoolean(false)
+ @Config.RequiresMcRestart
+ public boolean doShowAllItemsInCreative;
+
+ @Config.Comment("if true, makes the GT5U sounds multi-threaded.")
+ @Config.DefaultBoolean(false)
+ @Config.RequiresMcRestart
+ public boolean multiThreadedSounds;
+
+ @Config.Comment("Max entity amount in the same block for entity craming.")
+ @Config.DefaultInt(6)
+ @Config.RequiresMcRestart
+ public int maxEqualEntitiesAtOneSpot;
+
+ @Config.Comment("The chance of success to start a fire from the flint and steel.")
+ @Config.DefaultInt(30)
+ @Config.RequiresMcRestart
+ public int flintChance;
+
+ @Config.Comment("Entity despawn time.")
+ @Config.DefaultInt(6000)
+ @Config.RequiresMcRestart
+ public int itemDespawnTime;
+
+ @Config.Comment("If true, allows small boiler automation.")
+ @Config.DefaultBoolean(false)
+ @Config.RequiresMcRestart
+ public boolean allowSmallBoilerAutomation;
+
+ @Config.Comment("If true, increases dungeon loots in vanilla structures.")
+ @Config.DefaultBoolean(false)
+ @Config.RequiresMcRestart
+ public boolean increaseDungeonLoot;
+
+ @Config.Comment("If true, spawns an axe at the start in adventure mode. Does nothing if the advanture mode isn't forced.")
+ @Config.DefaultBoolean(true)
+ @Config.RequiresMcRestart
+ public boolean axeWhenAdventure;
+
+ @Config.Comment("If true, forces the survival map into adventure mode.")
+ @Config.DefaultBoolean(false)
+ @Config.RequiresMcRestart
+ public boolean survivalIntoAdventure;
+
+ @Config.Comment("If true, hungers the players based on his amount of stuff in the inventory every 6s, regardless of player movement.")
+ @Config.DefaultBoolean(false)
+ @Config.RequiresMcRestart
+ public boolean hungerEffect;
+
+ @Config.Comment("If true, enables the item oredification of the items in the inventory.")
+ @Config.DefaultBoolean(true)
+ @Config.RequiresMcRestart
+ public boolean inventoryUnification;
+
+ @Config.Comment("if true, enables GT5U and GT++ bees.")
+ @Config.DefaultBoolean(true)
+ @Config.RequiresMcRestart
+ public boolean GTBees;
+
+ @Config.Comment("if true, enables crafting unification.")
+ @Config.DefaultBoolean(true)
+ @Config.RequiresMcRestart
+ public boolean craftingUnification;
+
+ @Config.Comment("If true, nerfs planks recipes.")
+ @Config.DefaultBoolean(true)
+ @Config.RequiresMcRestart
+ public boolean nerfedWoodPlank;
+
+ @Config.Comment("if true, reduces the durability of the vanilla tools.")
+ @Config.DefaultBoolean(true)
+ @Config.RequiresMcRestart
+ public boolean nerfedVanillaTools;
+
+ @Config.Comment("if true, enables GT5U achievements.")
+ @Config.DefaultBoolean(true)
+ @Config.RequiresMcRestart
+ public boolean achievements;
+
+ @Config.Comment("if true, hides unused ores.")
+ @Config.DefaultBoolean(false)
+ @Config.RequiresMcRestart
+ public boolean hideUnusedOres;
+
+ @Config.Comment("if true, enables all the materials in GT5U.")
+ @Config.DefaultBoolean(false)
+ @Config.RequiresMcRestart
+ public boolean enableAllMaterials;
+
+ @Config.Comment("Controls the amount of tick over the lag averaging is done with the scanner.")
+ @Config.DefaultInt(25)
+ @Config.RequiresMcRestart
+ public int ticksForLagAveraging;
+
+ @Config.Comment("Controls the threshold (in ms) above which a lag warning is issued in log for a specific tile entity.")
+ @Config.DefaultInt(100)
+ @Config.RequiresMcRestart
+ public int millisecondThesholdUntilLagWarning;
+
+ @Config.Comment("if true, drops the content of the machine inventory before exploding.")
+ @Config.DefaultBoolean(false)
+ @Config.RequiresMcRestart
+ public boolean explosionItemDrop;
+
+ @Config.Comment("if true, enables the cleanroom multi.")
+ @Config.DefaultBoolean(true)
+ @Config.RequiresMcRestart
+ public boolean enableCleanroom;
+
+ @Config.Comment("if true, enables low gravity requirement in some crafts. Is forced to false if GalactiCraft is not present.")
+ @Config.DefaultBoolean(true)
+ @Config.RequiresMcRestart
+ public boolean lowGravProcessing;
+
+ @Config.Comment("if true, crops need a block below to fully grow.")
+ @Config.DefaultBoolean(true)
+ @Config.RequiresMcRestart
+ public boolean cropNeedBlock;
+
+ @Config.Comment("if yes, allows the automatic interactions with the maintenance hatches.")
+ @Config.DefaultBoolean(true)
+ @Config.RequiresMcRestart
+ public boolean autoMaintenaceHatchesInteraction;
+
+ @Config.Comment("if true, mixed ores only yields the equivalent of 2/3 of the pure ores.")
+ @Config.DefaultBoolean(false)
+ @Config.RequiresMcRestart
+ public boolean mixedOreOnlyYieldsTwoThirdsOfPureOre;
+
+ @Config.Comment("if true, rich ores yield twice as much as normal ores.")
+ @Config.DefaultBoolean(true)
+ @Config.RequiresMcRestart
+ public boolean richOreYieldMultiplier;
+
+ @Config.Comment("if true, nether ores yield twice as much as normal ores.")
+ @Config.DefaultBoolean(true)
+ @Config.RequiresMcRestart
+ public boolean netherOreYieldMultiplier;
+
+ @Config.Comment("if true, end ores yield twice as much as normal ores.")
+ @Config.DefaultBoolean(true)
+ @Config.RequiresMcRestart
+ public boolean endOreYieldMultiplier;
+
+ @Config.Comment("if true, enables GT6 styled pipe connections.")
+ @Config.DefaultBoolean(true)
+ @Config.RequiresMcRestart
+ public boolean gt6Pipe;
+
+ @Config.Comment("if true, enables GT6 styled wire connections.")
+ @Config.DefaultBoolean(true)
+ @Config.RequiresMcRestart
+ public boolean gt6Cable;
+
+ @Config.Comment("if true, allows GT5U cables to be IC2 power sources.")
+ @Config.DefaultBoolean(true)
+ @Config.RequiresMcRestart
+ public boolean ic2EnergySourceCompat;
+
+ @Config.Comment("if true, wires will require soldering material to be connected.")
+ @Config.DefaultBoolean(false)
+ @Config.RequiresMcRestart
+ public boolean costlyCableConnection;
+
+ @Config.Comment("if true, crashes on null recipe input.")
+ @Config.DefaultBoolean(true)
+ @Config.RequiresMcRestart
+ public boolean crashOnNullRecipeInput;
+
+ @Config.Comment("if true, enable placeholder for material names in lang file.")
+ @Config.DefaultBoolean(true)
+ @Config.RequiresMcRestart
+ public boolean i18nPlaceholder;
+
+ @Config.Comment("if true, sets the hardness of the mobspawers to 500 and their blast resistance to 6 000 000.")
+ @Config.DefaultBoolean(true)
+ @Config.RequiresMcRestart
+ public boolean harderMobSpawner;
+
+ @Config.Comment("Controls the minimum distance allowed for the long distance pipelines to form.")
+ @Config.DefaultInt(64)
+ @Config.RequiresMcRestart
+ public int minimalDistancePoints;
+
+ @Config.Comment("This will set the blacklist of blocks for CTM blocks.")
+ @Config.DefaultStringList({ "team.chisel.block.BlockRoadLine" })
+ @Config.RequiresMcRestart
+ public String[] CTMBlacklist;
+
+ @Config.Comment("This will set the whitelist of blocks for CTM blocks.")
+ @Config.DefaultStringList({ "team.chisel.block.BlockCarvable", "team.chisel.block.BlockCarvableGlass" })
+ @Config.RequiresMcRestart
+ public String[] CTMWhitelist;
+
+ @Config.Comment("if true, logs all the oredict in logs/OreDict.log.")
+ @Config.DefaultBoolean(false)
+ @Config.RequiresMcRestart
+ public boolean loggingOreDict;
+
+ @Config.Comment("if true, logs all the oredict in logs/Explosion.log.")
+ @Config.DefaultBoolean(true)
+ @Config.RequiresMcRestart
+ public boolean loggingExplosions;
+
+ @Config.Comment("if true, log all the oredict in logs/PlayerActivity.log.")
+ @Config.DefaultBoolean(true)
+ @Config.RequiresMcRestart
+ public boolean loggingPlayerActicity;
+ }
+
+ @Config.LangKey("GT5U.gui.config.gregtech.harvest_level")
+ public static class HarvestLevel {
+
+ @Config.Comment("Activate Harvest Level Change")
+ @Config.DefaultBoolean(false)
+ @Config.RequiresMcRestart
+ public boolean activateHarvestLevelChange;
+
+ @Config.Comment("Maximum harvest level")
+ @Config.DefaultInt(7)
+ @Config.RequiresMcRestart
+ public int maxHarvestLevel;
+
+ @Config.Comment("GraniteHarvestLevel harvest level")
+ @Config.DefaultInt(3)
+ @Config.RequiresMcRestart
+ public int graniteHarvestLevel;
+ }
+
+ @Config.LangKey("GT5U.gui.config.gregtech.machines")
+ public static class Machines {
+
+ @Config.Comment("Number of ticks between sending sound packets to clients for electric machines. Default is 1.5 seconds. Trying to mitigate lag and FPS drops.")
+ @Config.DefaultInt(30)
+ @Config.RequiresMcRestart
+ public int ticksBetweenSounds;
+
+ @Config.Comment("This will set the blacklist for the world accelerator in TE mode.")
+ @Config.DefaultStringList({ "com.rwtema.extrautils.tileentity.enderquarry.TileEntityEnderQuarry",
+ "advsolar.common.tiles.TileEntityUltimateSolarPanel", "advsolar.common.tiles.TileEntitySolarPanel",
+ "advsolar.common.tiles.TileEntityQuantumSolarPanel", "advsolar.common.tiles.TileEntityHybridSolarPanel",
+ "advsolar.common.tiles.TileEntityAdvancedSolarPanel", "com.supsolpans.tiles.TileAdminSolarPanel",
+ "com.supsolpans.tiles.TilePhotonicSolarPanel", "com.supsolpans.tiles.TileSingularSolarPanel",
+ "com.supsolpans.tiles.TileSpectralSolarPanel", "emt.tile.solar.air.TileEntityAirSolar",
+ "emt.tile.solar.air.TileEntityDoubleAirSolar", "emt.tile.solar.air.TileEntityTripleAirSolar",
+ "emt.tile.solar.air.TileEntityQuadrupleAirSolar", "emt.tile.solar.air.TileEntityQuintupleAirSolar",
+ "emt.tile.solar.air.TileEntitySextupleAirSolar", "emt.tile.solar.air.TileEntitySeptupleAirSolar",
+ "emt.tile.solar.air.TileEntityOctupleAirSolar", "emt.tile.solar.compressed.TileEntityCompressedSolar",
+ "emt.tile.solar.compressed.TileEntityDoubleCompressedSolar",
+ "emt.tile.solar.compressed.TileEntityTripleCompressedSolar",
+ "emt.tile.solar.compressed.TileEntityQuadrupleAirSolar",
+ "emt.tile.solar.compressed.TileEntityQuintupleAirSolar",
+ "emt.tile.solar.compressed.TileEntitySextupleAirSolar",
+ "emt.tile.solar.compressed.TileEntitySeptupleAirSolar",
+ "emt.tile.solar.compressed.TileEntityOctupleAirSolar", "emt.tile.solar.dark.TileEntityDarkSolar",
+ "emt.tile.solar.dark.TileEntityDoubleDarkSolar", "emt.tile.solar.dark.TileEntityTripleDarkSolar",
+ "emt.tile.solar.dark.TileEntityQuadrupleAirSolar", "emt.tile.solar.dark.TileEntityQuintupleAirSolar",
+ "emt.tile.solar.dark.TileEntitySextupleAirSolar", "emt.tile.solar.dark.TileEntitySeptupleAirSolar",
+ "emt.tile.solar.dark.TileEntityOctupleAirSolar", "emt.tile.solar.earth.TileEntityDoubleEarthSolar",
+ "emt.tile.solar.earth.TileEntityEarthSolar", "emt.tile.solar.earth.TileEntityTripleEarthSolar",
+ "emt.tile.solar.earth.TileEntityQuadrupleAirSolar", "emt.tile.solar.earth.TileEntityQuintupleAirSolar",
+ "emt.tile.solar.earth.TileEntitySextupleAirSolar", "emt.tile.solar.earth.TileEntitySeptupleAirSolar",
+ "emt.tile.solar.earth.TileEntityOctupleAirSolar", "emt.tile.