当appflux存在时为样板供应器增加一个升级槽

This commit is contained in:
GaLicn 2025-09-23 18:38:13 +08:00
parent b8bfd1a3f6
commit 6b8590c2f2
3 changed files with 8 additions and 1 deletions

View File

@ -81,7 +81,7 @@ dependencies {
annotationProcessor "org.spongepowered:mixin:${mixin_version}:processor"
// modImplementation "curse.maven:applied-flux-965012:6755986"
modImplementation "curse.maven:applied-flux-965012:6755986"
modCompileOnly "curse.maven:mega-cells-622112:${mega_cells_version}"
modCompileOnly "curse.maven:jade-324717:${jade_version}"

View File

@ -52,6 +52,12 @@ public class MixinConditions implements IMixinConfigPlugin {
}
}
// 对于appflux相关的Mixin总是加载但在运行时检查条件
if (mixinClassName.contains("AppfluxPatternProviderLogicMixin")) {
System.out.println("[ExtendedAE_Plus] 总是加载appflux Mixin运行时检查条件: " + mixinClassName);
return true; // 总是加载在Mixin内部进行运行时检查
}
// 其他Mixin正常应用
System.out.println("[ExtendedAE_Plus] 加载Mixin: " + mixinClassName);
return true;

View File

@ -66,6 +66,7 @@
"ae2.compat.PatternProviderLogicCompatMixin",
"ae2.compat.PatternProviderLogicHostCompatMixin",
"ae2.compat.PatternProviderCompatMixin",
"appflux.AppfluxPatternProviderLogicMixin",
"ae2.helpers.patternprovider.PatternProviderLogicTickerMixin",
"ae2.parts.AEBasePartClientSyncMixin",
"ae2.parts.automation.IOBusPartChannelCardMixin",