mirror of
https://github.com/LegacyModdingMC/UniMixins.git
synced 2026-10-27 15:03:39 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3cc4912c55 | ||
|
|
05878bfde1 | ||
|
|
43ac78f2dc |
No files matched your search
+3
-3
@@ -93,13 +93,13 @@ public class GTNHMixinsCore implements IFMLLoadingPlugin {
|
||||
|
||||
@Override
|
||||
public void injectData(Map<String, Object> data) {
|
||||
LOGGER.info("Examining core mod list");
|
||||
LOGGER.debug("Examining core mod list");
|
||||
final Object coremodList = data.get("coremodList");
|
||||
|
||||
if (coremodList instanceof List) {
|
||||
final Set<String> loadedCoremods = getLoadedCoremods((List<?>) coremodList);
|
||||
|
||||
LOGGER.info("LoadedCoreMods {}", loadedCoremods.toString());
|
||||
LOGGER.debug("LoadedCoreMods {}", loadedCoremods.toString());
|
||||
for (Object coremod : (List<?>)coremodList) {
|
||||
// Identify any coremods that are `IEarlyMixinLoader`, and inject any relevant mixins
|
||||
try {
|
||||
@@ -110,7 +110,7 @@ public class GTNHMixinsCore implements IFMLLoadingPlugin {
|
||||
final Config config = Config.create(mixinConfig, null);
|
||||
final List<String> mixins = loader.getMixins(loadedCoremods);
|
||||
for(String mixin : mixins) {
|
||||
LOGGER.info("Loading [{}] {}", mixinConfig, mixin);
|
||||
LOGGER.debug("Loading [{}] {}", mixinConfig, mixin);
|
||||
}
|
||||
Reflection.mixinClassesField.set(Reflection.configField.get(config), mixins);
|
||||
Reflection.registerConfigurationMethod.invoke(null, config);
|
||||
|
||||
@@ -4,4 +4,4 @@ spongepoweredMixinVersion=0.8.7
|
||||
gtnhMixinVersion=0.8.7-GTNH-2
|
||||
gasmixMixinVersion=0.8.7-gasstation_7
|
||||
|
||||
asmVersion=9.7.1
|
||||
asmVersion=9.8
|
||||
+1
@@ -25,3 +25,4 @@ net.minecraftforge.*
|
||||
codechicken.core.asm.*
|
||||
codechicken.lib.asm.*
|
||||
org.spongepowered.asm.*
|
||||
ofdev.*
|
||||
Reference in new issue
Block a user