
Inconsistent mixin behavior compared to Fabric
Awakened-Redstone opened this issue ยท 0 comments
Mod Name
AutoWhitelist
Mod Homepage
https://modrinth.com/mod/autowhitelist
Minecraft version
1.21.1
Describe the bug
The mixin into Jankson does not apply on Connector, unlike on Fabric
Steps to reproduce
- Download AutoWhitelist and it's dependencies (Forgified Fabric API, Fabric Language Kotlin)
- Start the dedicated server
- The server crashes at startup
Logs
Additional context
Running with the mixin verbose debug flag leads to the following output:
Fabric (dev):
[23:26:09] [main/INFO] (FabricLoader/Mixin) Mixing ServerConfigEntryMixin from autowhitelist.mixins.json into net.minecraft.server.ServerConfigEntry
[23:26:09] [main/WARN] (FabricLoader/Mixin) autowhitelist.mixins.json:ServerConfigEntryMixin from mod autowhitelist: Class version 65 required is higher than the class version supported by the current version of Mixin (JAVA_16 supports class version 60)
[23:26:09] [main/INFO] (FabricLoader/Mixin) Mixing compat.JanksonAccessor from autowhitelist.mixins.json into blue.endless.jankson.Jankson
Fabric (prod):
[02:28:39] [main/INFO]: Mixing ServerConfigEntryMixin from autowhitelist.mixins.json into net.minecraft.class_3330
[02:28:39] [main/WARN]: autowhitelist.mixins.json:ServerConfigEntryMixin from mod autowhitelist: Class version 65 required is higher than the class version supported by the current version of Mixin (JAVA_16 supports class version 60)
[02:28:39] [main/INFO]: Mixing compat.JanksonAccessor from autowhitelist.mixins.json into blue.endless.jankson.Jankson
Connector
[07Jan2025 20:22:22.944] [main/INFO] [mixin/]: Mixing ServerConfigEntryMixin from autowhitelist.mixins.json into net.minecraft.server.players.StoredUserEntry
[07Jan2025 20:22:22.944] [main/WARN] [mixin/]: autowhitelist.mixins.json:ServerConfigEntryMixin from mod autowhitelist: Class version 65 required is higher than the class version supported by the current version of Mixin (JAVA_16 supports class version 60)
[07Jan2025 20:22:22.976] [main/FATAL] [net.neoforged.fml.ModLoader/CORE]: Error during pre-loading phase: [Connector] Encountered error during early mod loading
java.lang.RuntimeException: Could not execute entrypoint stage 'server' due to errors, provided by 'autowhitelist'!
java.lang.RuntimeException: Could not execute entrypoint stage 'server' due to errors, provided by 'autowhitelist'!
... (trimmed)
Caused by: java.lang.NoSuchMethodError: 'blue.endless.jankson.Jankson blue.endless.jankson.Jankson.createJankson$autowhitelist_$md$f1b619$0(blue.endless.jankson.Jankson$Builder)'