Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconsistent mixin behavior compared to Fabric #1623

Open
Awakened-Redstone opened this issue Jan 12, 2025 · 0 comments
Open

Inconsistent mixin behavior compared to Fabric #1623

Awakened-Redstone opened this issue Jan 12, 2025 · 0 comments
Labels
compat A mod is found to be incompatible

Comments

@Awakened-Redstone
Copy link

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

  1. Download AutoWhitelist and it's dependencies (Forgified Fabric API, Fabric Language Kotlin)
  2. Start the dedicated server
  3. The server crashes at startup

Logs

https://mclo.gs/vkX99MO

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)'
@Awakened-Redstone Awakened-Redstone added the compat A mod is found to be incompatible label Jan 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compat A mod is found to be incompatible
Projects
Status: 🆕 New
Development

No branches or pull requests

1 participant