From 788a91ac52a8f390bc33cc8913fbfcec9a551c8a Mon Sep 17 00:00:00 2001 From: arcade_kappa Date: Sun, 1 Dec 2024 15:23:18 +0800 Subject: [PATCH] Add more entried to coremod blacklist --- .../java/net/minecraftforge/common/ForgeEarlyConfig.java | 9 ++++++++- .../minecraftforge/fml/relauncher/CoreModManager.java | 1 + 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/src/main/java/net/minecraftforge/common/ForgeEarlyConfig.java b/src/main/java/net/minecraftforge/common/ForgeEarlyConfig.java index 2d42be32e..c408ab587 100644 --- a/src/main/java/net/minecraftforge/common/ForgeEarlyConfig.java +++ b/src/main/java/net/minecraftforge/common/ForgeEarlyConfig.java @@ -61,7 +61,14 @@ public class ForgeEarlyConfig { public static String CONFIG_ANY_TIME_VERSION = "3.0"; public static String MIXIN_BOOTER_VERSION = "10.1"; - public static String[] LOADING_PLUGIN_BLACKLIST = new String[] {"com.cleanroommc.configanytime.ConfigAnytimePlugin", "zone.rong.mixinbooter.MixinBooterPlugin"}; + public static String[] LOADING_PLUGIN_BLACKLIST = new String[] { + "com.cleanroommc.configanytime.ConfigAnytimePlugin", + "zone.rong.mixinbooter.MixinBooterPlugin", + "ilib.asm.Loader", + "org.dimdev.jeid.JEIDLoadingPlugin", + "lain.mods.skins.init.forge.asm.Plugin", + "advancedshader.core.Core", + }; public static CategoryOpenAlContext OPENAL_CONTEXT = new CategoryOpenAlContext(); public static class CategoryOpenAlContext{ diff --git a/src/main/java/net/minecraftforge/fml/relauncher/CoreModManager.java b/src/main/java/net/minecraftforge/fml/relauncher/CoreModManager.java index 11b867a43..c16e9207d 100644 --- a/src/main/java/net/minecraftforge/fml/relauncher/CoreModManager.java +++ b/src/main/java/net/minecraftforge/fml/relauncher/CoreModManager.java @@ -425,6 +425,7 @@ private static void discoverCoreMods(File mcDir, LaunchClassLoader classLoader) } if (ignoreMods) { ignoredModFiles.add(coreMod.getName()); + FMLLog.log.warn("The mod with loading plugin {} is in blacklist and won't be loaded.", fmlCorePlugin); continue; } if (fmlCorePlugin == null)