[1.19] Trinkets 3.4.1 crashes Fabric's datagen
MJRamon opened this issue · 3 comments
I don't know, why nobody has reported this yet, but Fabric's datagen fails with Trinkets 3.4.1.
minecraft_version=1.19.2
yarn_mappings=1.19.2+build.28
loader_version=0.14.12
trinkets_version=3.4.1
[15:59:33] [main/INFO] (FabricLoader/Mixin) SpongePowered MIXIN Subsystem Version=0.8.5 Source=file:/C:/Users/user/.gradle/caches/modules-2/files-2.1/net.fabricmc/sponge-mixin/0.11.4+mixin.0.8.5/c1dc27696aa4006e492c2485c9ccbcb26045a971/sponge-mixin-0.11.4+mixin.0.8.5.jar Service=Knot/Fabric Env=SERVER
[15:59:33] [main/INFO] (FabricLoader/Mixin) Loaded Fabric development mappings for mixin remapper!
[15:59:33] [main/INFO] (FabricLoader/Mixin) Compatibility level set to JAVA_16
[15:59:33] [main/INFO] (FabricLoader/Mixin) Compatibility level set to JAVA_17
[15:59:34] [main/WARN] (FabricLoader/Mixin) Error loading class: fr/catcore/server/translations/api/resource/language/SystemDelegatedLanguage (java.lang.ClassNotFoundException: fr/catcore/server/translations/api/resource/language/SystemDelegatedLanguage)
[15:59:34] [main/WARN] (FabricLoader/Mixin) Error loading class: org/quiltmc/loader/impl/game/minecraft/Hooks (java.lang.ClassNotFoundException: org/quiltmc/loader/impl/game/minecraft/Hooks)
[15:59:36] [main/WARN] (FabricLoader/Mixin) Error loading class: dev/emi/trinkets/mixin/accessor/LivingEntityAccessor (java.lang.RuntimeException: Cannot load class dev.emi.trinkets.mixin.accessor.LivingEntityAccessor in environment type SERVER)
[15:59:36] [main/WARN] (FabricLoader/Mixin) Error loading class: dev/emi/trinkets/mixin/accessor/LivingEntityAccessor (java.lang.RuntimeException: Cannot load class dev.emi.trinkets.mixin.accessor.LivingEntityAccessor in environment type SERVER)
[15:59:36] [main/WARN] (FabricLoader/Mixin) Error loading class: dev/emi/trinkets/mixin/accessor/LivingEntityAccessor (java.lang.RuntimeException: Cannot load class dev.emi.trinkets.mixin.accessor.LivingEntityAccessor in environment type SERVER)
[15:59:36] [main/WARN] (FabricLoader/Mixin) Error loading class: dev/emi/trinkets/mixin/accessor/LivingEntityAccessor (java.lang.RuntimeException: Cannot load class dev.emi.trinkets.mixin.accessor.LivingEntityAccessor in environment type SERVER)
[15:59:36] [main/WARN] (FabricLoader/Mixin) Error loading class: dev/emi/trinkets/mixin/accessor/LivingEntityAccessor (java.lang.RuntimeException: Cannot load class dev.emi.trinkets.mixin.accessor.LivingEntityAccessor in environment type SERVER)
[15:59:36] [main/WARN] (FabricLoader/Mixin) Error loading class: dev/emi/trinkets/mixin/accessor/LivingEntityAccessor (java.lang.RuntimeException: Cannot load class dev.emi.trinkets.mixin.accessor.LivingEntityAccessor in environment type SERVER)
[15:59:36] [main/WARN] (FabricLoader/Mixin) Error loading class: dev/emi/trinkets/mixin/accessor/LivingEntityAccessor (java.lang.RuntimeException: Cannot load class dev.emi.trinkets.mixin.accessor.LivingEntityAccessor in environment type SERVER)
[15:59:36] [main/WARN] (FabricLoader/Mixin) Error loading class: dev/emi/trinkets/mixin/accessor/LivingEntityAccessor (java.lang.RuntimeException: Cannot load class dev.emi.trinkets.mixin.accessor.LivingEntityAccessor in environment type SERVER)
[15:59:36] [main/WARN] (FabricLoader/Mixin) Error loading class: dev/emi/trinkets/mixin/accessor/LivingEntityAccessor (java.lang.RuntimeException: Cannot load class dev.emi.trinkets.mixin.accessor.LivingEntityAccessor in environment type SERVER)
[15:59:36] [main/WARN] (FabricLoader/Mixin) Error loading class: dev/emi/trinkets/mixin/accessor/LivingEntityAccessor (java.lang.RuntimeException: Cannot load class dev.emi.trinkets.mixin.accessor.LivingEntityAccessor in environment type SERVER)
[15:59:36] [main/WARN] (FabricLoader/Mixin) Error loading class: dev/emi/trinkets/mixin/accessor/LivingEntityAccessor (java.lang.RuntimeException: Cannot load class dev.emi.trinkets.mixin.accessor.LivingEntityAccessor in environment type SERVER)
[15:59:36] [main/ERROR] (FabricLoader) Minecraft has crashed!
net.fabricmc.loader.impl.FormattedException: java.lang.BootstrapMethodError: java.lang.RuntimeException: Cannot load class dev.emi.trinkets.mixin.accessor.LivingEntityAccessor in environment type SERVER
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:463) ~[fabric-loader-0.14.12.jar:?]
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) [fabric-loader-0.14.12.jar:?]
at net.fabricmc.loader.impl.launch.knot.KnotServer.main(KnotServer.java:23) [fabric-loader-0.14.12.jar:?]
at net.fabricmc.devlaunchinjector.Main.main(Main.java:86) [dev-launch-injector-0.2.1+build.8.jar:?]
Caused by: java.lang.BootstrapMethodError: java.lang.RuntimeException: Cannot load class dev.emi.trinkets.mixin.accessor.LivingEntityAccessor in environment type SERVER
Caused by: java.lang.BootstrapMethodError: java.lang.RuntimeException: Cannot load class dev.emi.trinkets.mixin.accessor.LivingEntityAccessor in environment type SERVER
at net.minecraft.util.registry.Registry.<clinit>(Registry.java:356) ~[[email protected]:?]
at net.minecraft.Bootstrap.initialize(Bootstrap.java:50) ~[[email protected]:?]
at net.minecraft.server.Main.main(Main.java:103) ~[[email protected]:?]
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:461) ~[fabric-loader-0.14.12.jar:?]
... 3 more
Caused by: java.lang.RuntimeException: Cannot load class dev.emi.trinkets.mixin.accessor.LivingEntityAccessor in environment type SERVER
at net.fabricmc.loader.impl.transformer.FabricTransformer.transform(FabricTransformer.java:59) ~[fabric-loader-0.14.12.jar:?]
at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.getPreMixinClassByteArray(KnotClassDelegate.java:462) ~[fabric-loader-0.14.12.jar:?]
at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.getPostMixinClassByteArray(KnotClassDelegate.java:415) ~[fabric-loader-0.14.12.jar:?]
at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.tryLoadClass(KnotClassDelegate.java:323) ~[fabric-loader-0.14.12.jar:?]
at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.loadClass(KnotClassDelegate.java:218) ~[fabric-loader-0.14.12.jar:?]
at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:112) ~[fabric-loader-0.14.12.jar:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]
at java.lang.ClassLoader.defineClass1(Native Method) ~[?:?]
at java.lang.ClassLoader.defineClass(ClassLoader.java:1012) ~[?:?]
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:150) ~[?:?]
at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.defineClassFwd(KnotClassLoader.java:153) ~[fabric-loader-0.14.12.jar:?]
at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.tryLoadClass(KnotClassDelegate.java:355) ~[fabric-loader-0.14.12.jar:?]
at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.loadClass(KnotClassDelegate.java:218) ~[fabric-loader-0.14.12.jar:?]
at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:112) ~[fabric-loader-0.14.12.jar:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]
at java.lang.ClassLoader.defineClass1(Native Method) ~[?:?]
at java.lang.ClassLoader.defineClass(ClassLoader.java:1012) ~[?:?]
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:150) ~[?:?]
at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.defineClassFwd(KnotClassLoader.java:153) ~[fabric-loader-0.14.12.jar:?]
at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.tryLoadClass(KnotClassDelegate.java:355) ~[fabric-loader-0.14.12.jar:?]
at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.loadClass(KnotClassDelegate.java:218) ~[fabric-loader-0.14.12.jar:?]
at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:112) ~[fabric-loader-0.14.12.jar:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]
at net.minecraft.util.registry.Registry.<clinit>(Registry.java:356) ~[[email protected]:?]
at net.minecraft.Bootstrap.initialize(Bootstrap.java:50) ~[[email protected]:?]
at net.minecraft.server.Main.main(Main.java:103) ~[[email protected]:?]
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:461) ~[fabric-loader-0.14.12.jar:?]
... 3 more
Caused by: java.lang.RuntimeException: Cannot load class dev.emi.trinkets.mixin.accessor.LivingEntityAccessor in environment type SERVER
> Task :runDatagen FAILED
Execution failed for task ':runDatagen'.
> Process 'command 'C:\Program Files\Java\jdk-17.0.4.1\bin\java.exe'' finished with non-zero exit value 1
I'm having a very similar problem in 1.20.2, but it shows this instead:
[02:22:54] [main/INFO] (FabricLoader/GameProvider) Loading Minecraft 1.20.2 with Fabric Loader 0.15.0
[02:22:54] [main/WARN] (FabricLoader/Resolution) Mod resolution failed
[02:22:54] [main/INFO] (FabricLoader/Resolution) Immediate reason: [HARD_DEP_NO_CANDIDATE trinkets 3.8.0 {depends cardinal-components-base @ [>=3.0.0-0]}, ROOT_FORCELOAD_SINGLE trinkets 3.8.0]
[02:22:54] [main/INFO] (FabricLoader/Resolution) Reason: [HARD_DEP trinkets 3.8.0 {depends cardinal-components-base @ [>=3.0.0-0]}, HARD_DEP trinkets 3.8.0 {depends cardinal-components-entity @ [>=3.0.0-0]}]
[02:22:54] [main/INFO] (FabricLoader/Resolution) SERVER environment disabled: [fabric-renderer-api-v1, fabric-model-loading-api-v1, fabric-keybindings-v0, fabric-renderer-registries-v1, fabric-models-v0, fabric-client-tags-api-v1, fabric-sound-api-v1, fabric-screen-api-v1, fabric-rendering-v0, fabric-key-binding-api-v1, fabric-rendering-v1, fabric-renderer-indigo, fabric-blockrenderlayer-v1]
[02:22:54] [main/INFO] (FabricLoader/Resolution) Fix: add [add:cardinal-components-base 3.0.0-0 ([[3.0.0-0,∞)]), add:cardinal-components-entity 3.0.0-0 ([[3.0.0-0,∞)])], remove [], replace []
[02:22:54] [main/ERROR] (FabricLoader) Incompatible mods found!
net.fabricmc.loader.impl.FormattedException: Some of your mods are incompatible with the game or each other!
A potential solution has been determined, this may resolve your problem:
- Install cardinal-components-base, version 3.0.0-0 or later.
- Install cardinal-components-entity, version 3.0.0-0 or later.
More details:
- Mod 'Trinkets' (trinkets) 3.8.0 requires version 3.0.0-0 or later of cardinal-components-base, which is missing!
- Mod 'Trinkets' (trinkets) 3.8.0 requires version 3.0.0-0 or later of cardinal-components-entity, which is missing!
at net.fabricmc.loader.impl.FormattedException.ofLocalized(FormattedException.java:51) ~[fabric-loader-0.15.0.jar:?]
at net.fabricmc.loader.impl.FabricLoaderImpl.load(FabricLoaderImpl.java:195) ~[fabric-loader-0.15.0.jar:?]
at net.fabricmc.loader.impl.launch.knot.Knot.init(Knot.java:146) ~[fabric-loader-0.15.0.jar:?]
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:68) ~[fabric-loader-0.15.0.jar:?]
at net.fabricmc.loader.impl.launch.knot.KnotServer.main(KnotServer.java:23) ~[fabric-loader-0.15.0.jar:?]
at net.fabricmc.devlaunchinjector.Main.main(Main.java:86) ~[?:?]
Process finished with exit code 1
The game runs perfectly fine, and when I remove trinkets from build.gradle and run datagen it works. Not sure why it's happening so it would really help to get some answers.