florensie / artifacts-fabric

A Minecraft mod that adds various powerful items which can be found through exploration
https://www.curseforge.com/minecraft/mc-mods/artifacts-fabric
GNU Lesser General Public License v3.0
10 stars 9 forks source link

Artifact causes crash in my modpack #41

Closed KavisKryptic closed 3 years ago

KavisKryptic commented 3 years ago

Describe the bug As the title states, any time I add the mod to my modpack, it causes a crash. It could be incompatibility caused by another mod, but I'm not sure. I will be testing on my own time when I can. But I still wanted to put the crash report here just in case you can deduce what's the issue quicker than I can.

Minecraft: [1.17.1] Fabric API: [0.40.6] Artifacts: [5.0.0] Trinkets: [3.0.4]

Crash report: https://pastebin.com/jdjSSMxq

florensie commented 3 years ago
[14:22:23] [main/FATAL]: Mixin apply failed artifacts.mixins.json:item.flippers.LivingEntityMixin -> net.minecraft.class_1309: org.spongepowered.asm.mixin.injection.throwables.InvalidInjectionException Specified index 0 for @ModifyArg is invalid for args (Lnet/minecraft/class_1309;FLnet/minecraft/class_243;), expected F on net/minecraft/class_1309::increaseSwimSpeed [INJECT Applicator Phase -> artifacts.mixins.json:item.flippers.LivingEntityMixin -> Apply Injections -> -> Inject -> artifacts.mixins.json:item.flippers.LivingEntityMixin->@ModifyArg::increaseSwimSpeed(F)F]

Crashes on a mixin for the flippers, will look into it.

itsdinkd commented 3 years ago

[17:00:06] [main/INFO]: Loading for game Minecraft 1.17.1 [17:00:07] [ForkJoinPool-1-worker-13/WARN]: The mod "libcd" contains invalid entries in its mod json:

itsdinkd commented 3 years ago

Same error for me.

itsdinkd commented 3 years ago

Here's my error from my server (its much longer)

[00:11:33] [main/FATAL]: Mixin apply failed artifacts.mixins.json:item.flippers.LivingEntityMixin -> net.minecraft.class_1309: org.spongepowered.asm.mixin.injection.throwables.InvalidInjectionException Specified index 0 for @ModifyArg is invalid for args (Lnet/minecraft/class_1309;FLnet/minecraft/class_243;), expected F on net/minecraft/class_1309::increaseSwimSpeed [INJECT Applicator Phase -> artifacts.mixins.json:item.flippers.LivingEntityMixin -> Apply Injections -> -> Inject -> artifacts.mixins.json:item.flippers.LivingEntityMixin->@ModifyArg::increaseSwimSpeed(F)F] org.spongepowered.asm.mixin.injection.throwables.InvalidInjectionException: Specified index 0 for @ModifyArg is invalid for args (Lnet/minecraft/class_1309;FLnet/minecraft/class_243;), expected F on net/minecraft/class_1309::increaseSwimSpeed [INJECT Applicator Phase -> artifacts.mixins.json:item.flippers.LivingEntityMixin -> Apply Injections -> -> Inject -> artifacts.mixins.json:item.flippers.LivingEntityMixin->@ModifyArg::increaseSwimSpeed(F)F] at org.spongepowered.asm.mixin.injection.invoke.ModifyArgInjector.findArgIndex(ModifyArgInjector.java:157) ~[fabric-server-launch.jar:?] at org.spongepowered.asm.mixin.injection.invoke.ModifyArgInjector.injectAtInvoke(ModifyArgInjector.java:112) ~[fabric-server-launch.jar:?] at org.spongepowered.asm.mixin.injection.invoke.InvokeInjector.inject(InvokeInjector.java:82) ~[fabric-server-launch.jar:?] at org.spongepowered.asm.mixin.injection.invoke.ModifyArgInjector.inject(ModifyArgInjector.java:102) ~[fabric-server-launch.jar:?] at org.spongepowered.asm.mixin.injection.code.Injector.inject(Injector.java:264) ~[fabric-server-launch.jar:?] at org.spongepowered.asm.mixin.injection.struct.InjectionInfo.inject(InjectionInfo.java:385) ~[fabric-server-launch.jar:?] at org.spongepowered.asm.mixin.transformer.MixinTargetContext.applyInjections(MixinTargetContext.java:1284) ~[fabric-server-launch.jar:?] at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.applyInjections(MixinApplicatorStandard.java:1042) ~[fabric-server-launch.jar:?] at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.applyMixin(MixinApplicatorStandard.java:395) ~[fabric-server-launch.jar:?] at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.apply(MixinApplicatorStandard.java:320) ~[fabric-server-launch.jar:?] at org.spongepowered.asm.mixin.transformer.TargetClassContext.applyMixins(TargetClassContext.java:345) ~[fabric-server-launch.jar:?] at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:569) [fabric-server-launch.jar:?] at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:351) [fabric-server-launch.jar:?] at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClass(MixinTransformer.java:208) [fabric-server-launch.jar:?] at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClassBytes(MixinTransformer.java:178) [fabric-server-launch.jar:?] at org.spongepowered.asm.mixin.transformer.FabricMixinTransformerProxy.transformClassBytes(FabricMixinTransformerProxy.java:23) [fabric-server-launch.jar:?] at net.fabricmc.loader.launch.knot.KnotClassDelegate.getPostMixinClassByteArray(KnotClassDelegate.java:162) [fabric-server-launch.jar:?] at net.fabricmc.loader.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:154) [fabric-server-launch.jar:?] at java.lang.ClassLoader.loadClass(ClassLoader.java:519) ~[?:?] at java.lang.ClassLoader.defineClass1(Native Method) [?:?] at java.lang.ClassLoader.defineClass(ClassLoader.java:1010) [?:?] at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:150) [?:?] at net.fabricmc.loader.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:170) [fabric-server-launch.jar:?] at java.lang.ClassLoader.loadClass(ClassLoader.java:519) [?:?] at net.minecraft.class_6396.handler$din000$fillSystemDetails(class_6396.java:522) [intermediary-server.jar:?] at net.minecraft.class_6396.(class_6396.java:57) [intermediary-server.jar:?] at net.minecraft.class_128.(class_128.java:32) [intermediary-server.jar:?] at net.minecraft.class_128.method_24305(class_128.java:275) [intermediary-server.jar:?] at net.minecraft.server.Main.main(Main.java:90) [intermediary-server.jar:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:567) ~[?:?] at net.fabricmc.loader.game.MinecraftGameProvider.launch(MinecraftGameProvider.java:234) [fabric-server-launch.jar:?] at net.fabricmc.loader.launch.knot.Knot.launch(Knot.java:153) [fabric-server-launch.jar:?] at net.fabricmc.loader.launch.knot.KnotServer.main(KnotServer.java:28) [fabric-server-launch.jar:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:567) ~[?:?] at net.fabricmc.loader.launch.server.FabricServerLauncher.launch(FabricServerLauncher.java:68) [fabric-server-launch.jar:?] at net.fabricmc.loader.launch.server.FabricServerLauncher.setup(FabricServerLauncher.java:114) [fabric-server-launch.jar:?] at net.fabricmc.loader.launch.server.FabricServerLauncher.main(FabricServerLauncher.java:56) [fabric-server-launch.jar:?] Exception in thread "main" java.lang.RuntimeException: Failed to setup Fabric server environment! at net.fabricmc.loader.launch.server.FabricServerLauncher.main(FabricServerLauncher.java:58) Caused by: java.lang.RuntimeException: java.lang.RuntimeException: An exception occurred when launching the server! at net.fabricmc.loader.launch.server.FabricServerLauncher.setup(FabricServerLauncher.java:116) at net.fabricmc.loader.launch.server.FabricServerLauncher.main(FabricServerLauncher.java:56) Caused by: java.lang.RuntimeException: An exception occurred when launching the server! at net.fabricmc.loader.launch.server.FabricServerLauncher.launch(FabricServerLauncher.java:70) at net.fabricmc.loader.launch.server.FabricServerLauncher.setup(FabricServerLauncher.java:114) ... 1 more Caused by: java.lang.reflect.InvocationTargetException at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:567) at net.fabricmc.loader.launch.server.FabricServerLauncher.launch(FabricServerLauncher.java:68) ... 2 more Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException at net.fabricmc.loader.game.MinecraftGameProvider.launch(MinecraftGameProvider.java:236) at net.fabricmc.loader.launch.knot.Knot.launch(Knot.java:153) at net.fabricmc.loader.launch.knot.KnotServer.main(KnotServer.java:28) ... 7 more Caused by: java.lang.reflect.InvocationTargetException at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:567) at net.fabricmc.loader.game.MinecraftGameProvider.launch(MinecraftGameProvider.java:234) ... 9 more Caused by: org.spongepowered.asm.mixin.transformer.throwables.MixinTransformerError: An unexpected critical error was encountered at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:363) at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClass(MixinTransformer.java:208) at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClassBytes(MixinTransformer.java:178) at org.spongepowered.asm.mixin.transformer.FabricMixinTransformerProxy.transformClassBytes(FabricMixinTransformerProxy.java:23) at net.fabricmc.loader.launch.knot.KnotClassDelegate.getPostMixinClassByteArray(KnotClassDelegate.java:162) at net.fabricmc.loader.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:154) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:519) at java.base/java.lang.ClassLoader.defineClass1(Native Method) at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1010) at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:150) at net.fabricmc.loader.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:170) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:519) at net.minecraft.class_6396.handler$din000$fillSystemDetails(class_6396.java:522) at net.minecraft.class_6396.(class_6396.java:57) at net.minecraft.class_128.(class_128.java:32) at net.minecraft.class_128.method_24305(class_128.java:275) at net.minecraft.server.Main.main(Main.java:90) ... 14 more Caused by: org.spongepowered.asm.mixin.throwables.MixinApplyError: Mixin [artifacts.mixins.json:item.flippers.LivingEntityMixin] from phase [DEFAULT] in config [artifacts.mixins.json] FAILED during APPLY at org.spongepowered.asm.mixin.transformer.MixinProcessor.handleMixinError(MixinProcessor.java:642) at org.spongepowered.asm.mixin.transformer.MixinProcessor.handleMixinApplyError(MixinProcessor.java:594) at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:356) ... 30 more Caused by: org.spongepowered.asm.mixin.injection.throwables.InvalidInjectionException: Specified index 0 for @ModifyArg is invalid for args (Lnet/minecraft/class_1309;FLnet/minecraft/class_243;), expected F on net/minecraft/class_1309::increaseSwimSpeed [INJECT Applicator Phase -> artifacts.mixins.json:item.flippers.LivingEntityMixin -> Apply Injections -> -> Inject -> artifacts.mixins.json:item.flippers.LivingEntityMixin->@ModifyArg::increaseSwimSpeed(F)F] at org.spongepowered.asm.mixin.injection.invoke.ModifyArgInjector.findArgIndex(ModifyArgInjector.java:157) at org.spongepowered.asm.mixin.injection.invoke.ModifyArgInjector.injectAtInvoke(ModifyArgInjector.java:112) at org.spongepowered.asm.mixin.injection.invoke.InvokeInjector.inject(InvokeInjector.java:82) at org.spongepowered.asm.mixin.injection.invoke.ModifyArgInjector.inject(ModifyArgInjector.java:102) at org.spongepowered.asm.mixin.injection.code.Injector.inject(Injector.java:264) at org.spongepowered.asm.mixin.injection.struct.InjectionInfo.inject(InjectionInfo.java:385) at org.spongepowered.asm.mixin.transformer.MixinTargetContext.applyInjections(MixinTargetContext.java:1284) at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.applyInjections(MixinApplicatorStandard.java:1042) at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.applyMixin(MixinApplicatorStandard.java:395) at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.apply(MixinApplicatorStandard.java:320) at org.spongepowered.asm.mixin.transformer.TargetClassContext.applyMixins(TargetClassContext.java:345) at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:569) at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:351) ... 30 more

florensie commented 3 years ago

I appreciate you trying to help but the huge logs are just more of the same exact thing and get in the way of actual discussion. I recommend you use pastebin when posting logs in any public discussion.