From ff86dafa7edd842ae6d8875eb9f011a42e36c938 Mon Sep 17 00:00:00 2001 From: EthanDevelops Date: Sun, 8 May 2022 10:41:28 -0400 Subject: e --- .../oneconfig/loader/OneConfigLoader.java | 35 ++++++++++++++++++++++ .../oneconfig/tweaker/OneConfigTweaker.java | 35 ---------------------- 2 files changed, 35 insertions(+), 35 deletions(-) create mode 100644 src/main/java/cc/polyfrost/oneconfig/loader/OneConfigLoader.java delete mode 100644 src/main/java/cc/polyfrost/oneconfig/tweaker/OneConfigTweaker.java (limited to 'src/main/java/cc/polyfrost') diff --git a/src/main/java/cc/polyfrost/oneconfig/loader/OneConfigLoader.java b/src/main/java/cc/polyfrost/oneconfig/loader/OneConfigLoader.java new file mode 100644 index 0000000..e7224a8 --- /dev/null +++ b/src/main/java/cc/polyfrost/oneconfig/loader/OneConfigLoader.java @@ -0,0 +1,35 @@ +package cc.polyfrost.oneconfig.loader; + +import net.minecraftforge.fml.relauncher.IFMLLoadingPlugin; + +import java.util.Map; + + +public class OneConfigLoader implements IFMLLoadingPlugin { + private IFMLLoadingPlugin loader = null; + + @Override + public String[] getASMTransformerClass() { + return loader.getASMTransformerClass(); + } + + @Override + public String getModContainerClass() { + return loader.getModContainerClass(); + } + + @Override + public String getSetupClass() { + return loader.getSetupClass(); + } + + @Override + public void injectData(Map data) { + loader.injectData(data); + } + + @Override + public String getAccessTransformerClass() { + return loader.getAccessTransformerClass(); + } +} diff --git a/src/main/java/cc/polyfrost/oneconfig/tweaker/OneConfigTweaker.java b/src/main/java/cc/polyfrost/oneconfig/tweaker/OneConfigTweaker.java deleted file mode 100644 index 9b38070..0000000 --- a/src/main/java/cc/polyfrost/oneconfig/tweaker/OneConfigTweaker.java +++ /dev/null @@ -1,35 +0,0 @@ -package cc.polyfrost.oneconfig.tweaker; - -import net.minecraftforge.fml.relauncher.IFMLLoadingPlugin; - -import java.util.Map; - - -public class OneConfigTweaker implements IFMLLoadingPlugin { - private IFMLLoadingPlugin loader = null; - - @Override - public String[] getASMTransformerClass() { - return loader.getASMTransformerClass(); - } - - @Override - public String getModContainerClass() { - return loader.getModContainerClass(); - } - - @Override - public String getSetupClass() { - return loader.getSetupClass(); - } - - @Override - public void injectData(Map data) { - loader.injectData(data); - } - - @Override - public String getAccessTransformerClass() { - return loader.getAccessTransformerClass(); - } -} -- cgit