aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/common/config/client
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/gregtech/common/config/client')
-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
5 files changed, 142 insertions, 0 deletions
diff --git a/src/main/java/gregtech/common/config/client/ConfigColorModulation.java b/src/main/java/gregtech/common/config/client/ConfigColorModulation.java
new file mode 100644
index 0000000000..f5b189136e
--- /dev/null
+++ b/src/main/java/gregtech/common/config/client/ConfigColorModulation.java
@@ -0,0 +1,25 @@
+package gregtech.common.config.client;
+
+import com.gtnewhorizon.gtnhlib.config.Config;
+
+import gregtech.api.enums.Mods;
+
+@Config(
+ modid = Mods.Names.GREG_TECH,
+ category = "color_modulation",
+ configSubDirectory = "GregTech",
+ filename = "Client")
+public class ConfigColorModulation {
+
+ @Config.Comment("hex value for the cable insulation color modulation.")
+ @Config.DefaultString("#404040")
+ public static String cableInsulation;
+
+ @Config.Comment("hex value for the construction foam color modulation.")
+ @Config.DefaultString("#404040")
+ public static String constructionFoam;
+
+ @Config.Comment("hex value for the machine metal color modulation.")
+ @Config.DefaultString("#D2DCFF")
+ public static String machineMetal;
+}
diff --git a/src/main/java/gregtech/common/config/client/ConfigInterface.java b/src/main/java/gregtech/common/config/client/ConfigInterface.java
new file mode 100644
index 0000000000..261be6f51c
--- /dev/null
+++ b/src/main/java/gregtech/common/config/client/ConfigInterface.java
@@ -0,0 +1,29 @@
+package gregtech.common.config.client;
+
+import com.gtnewhorizon.gtnhlib.config.Config;
+
+import gregtech.api.enums.Mods;
+
+@Config(modid = Mods.Names.GREG_TECH, category = "interface", configSubDirectory = "GregTech", filename = "Client")
+public class ConfigInterface {
+
+ @Config.Comment("if true, makes cover tabs visible on GregTech machines.")
+ @Config.DefaultBoolean(true)
+ public static 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 static boolean coverTabsFlipped;
+
+ @Config.Comment("How verbose should tooltips be? 0: disabled, 1: one-line, 2: normal, 3+: extended.")
+ @Config.DefaultInt(2)
+ public static 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 static 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 static int titleTabStyle;
+}
diff --git a/src/main/java/gregtech/common/config/client/ConfigPreference.java b/src/main/java/gregtech/common/config/client/ConfigPreference.java
new file mode 100644
index 0000000000..f69ee8b890
--- /dev/null
+++ b/src/main/java/gregtech/common/config/client/ConfigPreference.java
@@ -0,0 +1,21 @@
+package gregtech.common.config.client;
+
+import com.gtnewhorizon.gtnhlib.config.Config;
+
+import gregtech.api.enums.Mods;
+
+@Config(modid = Mods.Names.GREG_TECH, category = "preference", configSubDirectory = "GregTech", filename = "Client")
+public class ConfigPreference {
+
+ @Config.Comment("if true, input filter will initially be on when input buses are placed in the world.")
+ @Config.DefaultBoolean(false)
+ public static 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 static boolean singleBlockInitialAllowMultiStack;
+
+ @Config.Comment("if true, input filter will initially be on when machines are placed in the world.")
+ @Config.DefaultBoolean(false)
+ public static boolean singleBlockInitialFilter;
+}
diff --git a/src/main/java/gregtech/common/config/client/ConfigRender.java b/src/main/java/gregtech/common/config/client/ConfigRender.java
new file mode 100644
index 0000000000..27860a13cb
--- /dev/null
+++ b/src/main/java/gregtech/common/config/client/ConfigRender.java
@@ -0,0 +1,46 @@
+package gregtech.common.config.client;
+
+import com.gtnewhorizon.gtnhlib.config.Config;
+
+import gregtech.api.enums.Mods;
+
+@Config(modid = Mods.Names.GREG_TECH, category = "render", configSubDirectory = "GregTech", filename = "Client")
+public class ConfigRender {
+
+ @Config.Comment("if true, enables ambient-occlusion smooth lighting on tiles.")
+ @Config.DefaultBoolean(true)
+ public static boolean renderTileAmbientOcclusion;
+
+ @Config.Comment("if true, enables glowing of the machine controllers.")
+ @Config.DefaultBoolean(true)
+ public static boolean renderGlowTextures;
+
+ @Config.Comment("if true, render flipped machine with flipped textures.")
+ @Config.DefaultBoolean(true)
+ public static boolean renderFlippedMachinesFlipped;
+
+ @Config.Comment("if true, render indicators on hatches.")
+ @Config.DefaultBoolean(true)
+ public static boolean renderIndicatorsOnHatch;
+
+ @Config.Comment("if true, enables dirt particles when pollution reaches the threshold.")
+ @Config.DefaultBoolean(true)
+ public static boolean renderDirtParticles;
+
+ @Config.Comment("if true, enables pollution fog when pollution reaches the threshold.")
+ @Config.DefaultBoolean(true)
+ public static boolean renderPollutionFog;
+
+ @Config.Comment("if true, enables the green -> red durability for an item's damage value.")
+ @Config.DefaultBoolean(true)
+ public static boolean renderItemDurabilityBar;
+
+ @Config.Comment("if true, enables the blue charge bar for an electric item's charge.")
+ @Config.DefaultBoolean(true)
+ public static boolean renderItemChargeBar;
+
+ @Config.Comment("enables BaseMetaTileEntity block updates handled by BlockUpdateHandler.")
+ @Config.DefaultBoolean(false)
+ public static boolean useBlockUpdateHandler;
+
+}
diff --git a/src/main/java/gregtech/common/config/client/ConfigWaila.java b/src/main/java/gregtech/common/config/client/ConfigWaila.java
new file mode 100644
index 0000000000..9d6f732941
--- /dev/null
+++ b/src/main/java/gregtech/common/config/client/ConfigWaila.java
@@ -0,0 +1,21 @@
+package gregtech.common.config.client;
+
+import com.gtnewhorizon.gtnhlib.config.Config;
+
+import gregtech.api.enums.Mods;
+
+@Config(modid = Mods.Names.GREG_TECH, category = "waila", configSubDirectory = "GregTech", filename = "Client")
+
+public class ConfigWaila {
+
+ /**
+ * 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 static boolean wailaTransformerVoltageTier;
+
+ @Config.Comment("if true, enables showing voltage tier of transformer for Waila, instead of raw voltage number.")
+ @Config.DefaultBoolean(false)
+ public static boolean wailaAverageNS;
+}