From 7d5876a7ad4908961173682547502dcd6b827873 Mon Sep 17 00:00:00 2001 From: Mrbysco Date: Tue, 22 Oct 2024 19:20:52 +0200 Subject: [PATCH] Remove GuiFactory as config is built into neoforge --- .../mod/ActuallyAdditions.java | 2 - .../mod/config/GuiFactory.java | 41 ------------------- 2 files changed, 43 deletions(-) delete mode 100644 src/main/java/de/ellpeck/actuallyadditions/mod/config/GuiFactory.java diff --git a/src/main/java/de/ellpeck/actuallyadditions/mod/ActuallyAdditions.java b/src/main/java/de/ellpeck/actuallyadditions/mod/ActuallyAdditions.java index 6cf02bc4b..7fdb55ac7 100644 --- a/src/main/java/de/ellpeck/actuallyadditions/mod/ActuallyAdditions.java +++ b/src/main/java/de/ellpeck/actuallyadditions/mod/ActuallyAdditions.java @@ -67,8 +67,6 @@ public class ActuallyAdditions { public static final String NAME = "Actually Additions"; @Deprecated public static final String VERSION = "@VERSION@"; - @Deprecated - public static final String GUIFACTORY = "de.ellpeck.actuallyadditions.mod.config.GuiFactory"; public static final String DEPS = "required:forge@[14.23.5.2836,);before:craftingtweaks;after:fastbench@[1.3.2,)"; public static final Logger LOGGER = LoggerFactory.getLogger(MODID); diff --git a/src/main/java/de/ellpeck/actuallyadditions/mod/config/GuiFactory.java b/src/main/java/de/ellpeck/actuallyadditions/mod/config/GuiFactory.java deleted file mode 100644 index 30039f1a3..000000000 --- a/src/main/java/de/ellpeck/actuallyadditions/mod/config/GuiFactory.java +++ /dev/null @@ -1,41 +0,0 @@ -// TODO: [port][note] forge does not support this atm -///* -// * This file ("GuiFactory.java") is part of the Actually Additions mod for Minecraft. -// * It is created and owned by Ellpeck and distributed -// * under the Actually Additions License to be found at -// * http://ellpeck.de/actaddlicense -// * View the source code at https://github.com/Ellpeck/ActuallyAdditions -// * -// * © 2015-2017 Ellpeck -// */ -// -//package de.ellpeck.actuallyadditions.mod.config; -// -//import java.util.Set; -// -//import net.minecraft.client.Minecraft; -//import net.minecraft.client.gui.GuiScreen; -//import net.minecraftforge.fml.client.IModGuiFactory; -// -//public class GuiFactory implements IModGuiFactory { -// -// @Override -// public void initialize(Minecraft minecraftInstance) { -// -// } -// -// @Override -// public boolean hasConfigGui() { -// return true; -// } -// -// @Override -// public GuiScreen createConfigGui(GuiScreen parentScreen) { -// return new GuiConfiguration(parentScreen); -// } -// -// @Override -// public Set runtimeGuiCategories() { -// return null; -// } -//}