Fabric API

Fabric API

106M Downloads

Mixins can't use interfaces from nested libraries.

Frontrider opened this issue ยท 1 comments

commented

The issue is simple. When your mixin has an interface inside a library that you jij, it works in dev, but it crashes at startup without a crash report with a class not found exception in the log.

Those interfaces live inside functionapi_common_scripting, and functionapi_common, that is nested by functionapi. The loading order checks out, they are in the list before the mod itself.
The log is very short, I'll just drop it here.

[20:07:42] [main/INFO]: Loading for game Minecraft 1.14.4
[20:07:43] [main/WARN]: Warnings were found! 
 - Conflicting versions found for fabric-resource-loader-v0: used 0.1.3+591e97ae42, also found 0.1.3+b02deb0042
[20:07:43] [main/INFO]: [FabricLoader] Loading 35 mods: [email protected], [email protected]+591e97ae42, [email protected]+c877038942, [email protected]+591e97ae42, [email protected]+build.126, [email protected]+build.169, [email protected]+591e97ae42, [email protected]+591e97ae42, [email protected]+369ab22e42, [email protected]+591e97ae42, [email protected]+591e97ae42, [email protected]+591e97ae42, [email protected]+2ac73e7242, [email protected], [email protected]+591e97ae42, [email protected]+c877038942, [email protected]+591e97ae42, [email protected]+591e97ae42, [email protected]+591e97ae42, [email protected]+591e97ae42, [email protected], [email protected]+36f27aa342, [email protected], [email protected]+591e97ae42, [email protected]+591e97ae42, [email protected]+591e97ae42, [email protected]+591e97ae42, [email protected]+591e97ae42, [email protected]+build.245-1.14, [email protected]+c877038942, [email protected]+591e97ae42, [email protected]+591e97ae42, [email protected], [email protected]+591e97ae42, [email protected]+591e97ae42
[20:07:43] [main/WARN]: Mod `modmenu` (1.7.14.1.14.4+build.126) uses more dot-separated version components than SemVer allows; support for this is currently not guaranteed.
[20:07:43] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.7.11 Source=file:/home/frontrider/.minecraft/libraries/net/fabricmc/sponge-mixin/0.7.11.38/sponge-mixin-0.7.11.38.jar Service=Knot/Fabric Env=CLIENT
[20:07:43] [main/INFO]: Compatibility level set to JAVA_8
[20:07:45] [main/WARN]: Error loading class: io/github/cottonmc/functionapi/api/script/ScriptedObject (java.lang.ClassNotFoundException: io/github/cottonmc/functionapi/api/script/ScriptedObject)
[20:07:45] [main/WARN]: Error loading class: io/github/cottonmc/functionapi/api/script/ScriptedObject (java.lang.ClassNotFoundException: io/github/cottonmc/functionapi/api/script/ScriptedObject)
[20:07:45] [main/WARN]: Error loading class: io/github/cottonmc/functionapi/api/commands/CommandSourceExtension (java.lang.ClassNotFoundException: io/github/cottonmc/functionapi/api/commands/CommandSourceExtension)
[20:07:45] [Client Shutdown Thread/WARN]: Error loading class: io/github/cottonmc/functionapi/api/script/ScriptedObject (java.lang.ClassNotFoundException: io/github/cottonmc/functionapi/api/script/ScriptedObject)
[20:07:45] [Client Shutdown Thread/WARN]: Error loading class: io/github/cottonmc/functionapi/api/script/ScriptedObject (java.lang.ClassNotFoundException: io/github/cottonmc/functionapi/api/script/ScriptedObject)
[20:07:45] [Client Shutdown Thread/WARN]: Error loading class: io/github/cottonmc/functionapi/api/commands/CommandSourceExtension (java.lang.ClassNotFoundException: io/github/cottonmc/functionapi/api/commands/CommandSourceExtension)```
commented

Fabric loader issue