From 3988f75cd6bfb8578027ebc88f0e1990a7aa039f Mon Sep 17 00:00:00 2001 From: makamys Date: Sat, 4 Feb 2023 21:19:43 +0100 Subject: [PATCH] Add missing SpongeMixinsCore class --- module-spongemixins/CREDITS | 11 ++++- .../{LICENSE => LICENSE.GTNHMixins} | 0 module-spongemixins/LICENSE.SpongeMixins | 7 +++ .../spongemixins/core/SpongeMixinsCore.java | 44 +++++++++++++++++++ 4 files changed, 61 insertions(+), 1 deletion(-) rename module-spongemixins/{LICENSE => LICENSE.GTNHMixins} (100%) create mode 100644 module-spongemixins/LICENSE.SpongeMixins create mode 100644 module-spongemixins/src/main/java/ru/timeconqueror/spongemixins/core/SpongeMixinsCore.java diff --git a/module-spongemixins/CREDITS b/module-spongemixins/CREDITS index 0a1e14f..508b0d9 100644 --- a/module-spongemixins/CREDITS +++ b/module-spongemixins/CREDITS @@ -5,4 +5,13 @@ Classes used: ru.timeconqueror.spongemixins.* com.gtnewhorizon.gtnhmixins.GTNHMixins (modified to not have @Mod annotation) -License: LGPL3 (see LICENSE) +License: LGPL3 (see LICENSE.GTNHMixins) + + +Source: https://github.com/GTNewHorizons/SpongeMixins/tree/c372c9010f9854dc80415a8fd1ff414fd0822f00 + +Classes used: + +ru.timeconqueror.spongemixins.core.SpongeMixinsCore (removed Mixin bootstrap) + +License: MIT (see LICENSE.SpongeMixins) diff --git a/module-spongemixins/LICENSE b/module-spongemixins/LICENSE.GTNHMixins similarity index 100% rename from module-spongemixins/LICENSE rename to module-spongemixins/LICENSE.GTNHMixins diff --git a/module-spongemixins/LICENSE.SpongeMixins b/module-spongemixins/LICENSE.SpongeMixins new file mode 100644 index 0000000..43380a2 --- /dev/null +++ b/module-spongemixins/LICENSE.SpongeMixins @@ -0,0 +1,7 @@ +Copyright 2020 TimeConqueror + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file diff --git a/module-spongemixins/src/main/java/ru/timeconqueror/spongemixins/core/SpongeMixinsCore.java b/module-spongemixins/src/main/java/ru/timeconqueror/spongemixins/core/SpongeMixinsCore.java new file mode 100644 index 0000000..c0bd529 --- /dev/null +++ b/module-spongemixins/src/main/java/ru/timeconqueror/spongemixins/core/SpongeMixinsCore.java @@ -0,0 +1,44 @@ +package ru.timeconqueror.spongemixins.core; + +import cpw.mods.fml.relauncher.IFMLLoadingPlugin; +import org.apache.logging.log4j.LogManager; +import org.apache.logging.log4j.Logger; +import java.util.Map; + +@IFMLLoadingPlugin.MCVersion("1.7.10") +@IFMLLoadingPlugin.SortingIndex(Integer.MIN_VALUE + 5) +@IFMLLoadingPlugin.Name(SpongeMixinsCore.PLUGIN_NAME) +public class SpongeMixinsCore implements IFMLLoadingPlugin { + public static final String PLUGIN_NAME = "SpongeMixin Core Plugin"; + public static final Logger LOGGER = LogManager.getLogger(PLUGIN_NAME); + + static { + LOGGER.info("Initializing SpongeMixinsCore"); + } + + @Override + public String[] getASMTransformerClass() { + return new String[0]; + } + + @Override + public String getModContainerClass() { + return null; + } + + @Override + public String getSetupClass() { + return null; + } + + @Override + public void injectData(Map data) { + + } + + @Override + public String getAccessTransformerClass() { + return null; + } +} +