From ff86dafa7edd842ae6d8875eb9f011a42e36c938 Mon Sep 17 00:00:00 2001 From: EthanDevelops Date: Sun, 8 May 2022 10:41:28 -0400 Subject: e --- settings.gradle | 2 +- .../oneconfig/loader/OneConfigLoader.java | 35 ++++++++++++++++++++++ .../oneconfig/tweaker/OneConfigTweaker.java | 35 ---------------------- 3 files changed, 36 insertions(+), 36 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 diff --git a/settings.gradle b/settings.gradle index 36010f6..d729b57 100644 --- a/settings.gradle +++ b/settings.gradle @@ -22,4 +22,4 @@ pluginManagement { } } -rootProject.name = "OneConfig-Tweaker" \ No newline at end of file +rootProject.name = "OneConfig-Loader" \ No newline at end of file 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