Closed c0gd1s closed 12 months ago
I have a feeling that's not even an issue with C:CC Bridge
The crash happens with version 1.20.1, I was able to reproduce the crash 5 times in a row on launch with a clean instance using only your mod, their mod, and the 2 required dependencies (Create and CC Tweaked.) Exact same crash in a clean log as there is in the log with other mods. This crash does not happen with your mod in combination with the other 400+ mods after hundreds of launches.
Relaunching the instance worked correctly and loaded both mods about 10 times in a row, before crashing on the 11th with the same fatal error. Then goes back and forth between launching successfully and crashing. So if you want to recreate the crash you may need to relaunch the instance multiple times.
Someone else also reported the same issue to the Bridge dev, so it's clear the issue is only between these 2 mods.
I have no idea what's going on to cause it, just reporting that a problem exists and that these 2 mods are currently incompatible in 1.20.1
[15:40:33] [pool-4-thread-1/FATAL]: Mixin apply failed createdieselgenerators.mixins.json:ItemEntityMixin -> net.minecraft.world.entity.item.ItemEntity: org.spongepowered.asm.mixin.injection.throwables.InvalidInjectionException Critical injection failure: @Inject annotation on tick could not find any targets matching 'tick()V' in net.minecraft.world.entity.item.ItemEntity. Using refmap mixin.refmap.json [PREINJECT Applicator Phase -> createdieselgenerators.mixins.json:ItemEntityMixin -> Prepare Injections -> -> handler$zcd000$tick(Lorg/spongepowered/asm/mixin/injection/callback/CallbackInfo;)V -> Parse]
org.spongepowered.asm.mixin.injection.throwables.InvalidInjectionException: Critical injection failure: @Inject annotation on tick could not find any targets matching 'tick()V' in net.minecraft.world.entity.item.ItemEntity. Using refmap mixin.refmap.json [PREINJECT Applicator Phase -> createdieselgenerators.mixins.json:ItemEntityMixin -> Prepare Injections -> -> handler$zcd000$tick(Lorg/spongepowered/asm/mixin/injection/callback/CallbackInfo;)V -> Parse]
at org.spongepowered.asm.mixin.injection.struct.InjectionInfo.validateTargets(InjectionInfo.java:656) ~[mixin-0.8.5.jar:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4]
at org.spongepowered.asm.mixin.injection.struct.InjectionInfo.findTargets(InjectionInfo.java:587) ~[mixin-0.8.5.jar:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4]
at org.spongepowered.asm.mixin.injection.struct.InjectionInfo.readAnnotation(InjectionInfo.java:330) ~[mixin-0.8.5.jar:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4]
at org.spongepowered.asm.mixin.injection.struct.InjectionInfo.
Okay, I've tried this myself and have no idea what the hell is with this error. I updated to the latest forge and it worked once, trying to re-launch the instance led to it once again repeatedly crashing. Cycling out one of the mods then works to get it running, but then the next attempt also crashes it once again. Removing either mod stops this issue, so it's clearly not just C:DG, and so far C:CCB is the only addon that causes this problem.
The issue seems to be that occasionally the mixin fails to find the targeted "tick()V" method, as seen in ItemEntityMixin.java. Why this sometimes happens I don't know, nor am I knowledgeable enough in Minecraft modding to know what it's all referring to. I did notice that despite what's been said, CCC does contain a mixin, but it's completely unrelated.
The problem is not with C:CC bridge, the issue seems to only be on 1.20.1 from the report I have received, The fact that it randomly crashes to some people about an error that is so weird I mean how can be the ItemEntity
class missing the tick() method. Maybe if I make the mixin in the Entity class it will work
If you wanna use the mod then I modified the jar file to remove the mixin here
The mod causes a startup crash when loaded in conjunction with CC:C Bridge, works fine otherwise with 440 mods. Just posting here to tell both mod authors. https://gist.github.com/c0gd1s/50fbbee0ca129d87609fad8562731012