aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/tectech/loader/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/tectech/loader/gui')
-rw-r--r--src/main/java/tectech/loader/gui/TecTechGUIClientConfig.java17
-rw-r--r--src/main/java/tectech/loader/gui/TecTechGUIFactory.java13
2 files changed, 30 insertions, 0 deletions
diff --git a/src/main/java/tectech/loader/gui/TecTechGUIClientConfig.java b/src/main/java/tectech/loader/gui/TecTechGUIClientConfig.java
new file mode 100644
index 0000000000..0399c13a59
--- /dev/null
+++ b/src/main/java/tectech/loader/gui/TecTechGUIClientConfig.java
@@ -0,0 +1,17 @@
+package tectech.loader.gui;
+
+import static gregtech.api.enums.Mods.TecTech;
+
+import net.minecraft.client.gui.GuiScreen;
+
+import com.gtnewhorizon.gtnhlib.config.ConfigException;
+import com.gtnewhorizon.gtnhlib.config.SimpleGuiConfig;
+
+import tectech.loader.ConfigHandler;
+
+public class TecTechGUIClientConfig extends SimpleGuiConfig {
+
+ public TecTechGUIClientConfig(GuiScreen parentScreen) throws ConfigException {
+ super(parentScreen, TecTech.ID, "TecTech - Tec Technology!", false, ConfigHandler.class);
+ }
+}
diff --git a/src/main/java/tectech/loader/gui/TecTechGUIFactory.java b/src/main/java/tectech/loader/gui/TecTechGUIFactory.java
new file mode 100644
index 0000000000..f618e77a8c
--- /dev/null
+++ b/src/main/java/tectech/loader/gui/TecTechGUIFactory.java
@@ -0,0 +1,13 @@
+package tectech.loader.gui;
+
+import net.minecraft.client.gui.GuiScreen;
+
+import com.gtnewhorizon.gtnhlib.config.SimpleGuiFactory;
+
+public class TecTechGUIFactory implements SimpleGuiFactory {
+
+ @Override
+ public Class<? extends GuiScreen> mainConfigGuiClass() {
+ return TecTechGUIClientConfig.class;
+ }
+}