Ladysnake / Cardinal-Components-API

Component API to add external data to objects.
https://www.curseforge.com/minecraft/mc-mods/cardinal-components
MIT License
169 stars 38 forks source link

[1.18-BUG] CC causes a crash on game launch #106

Closed Delfite closed 2 years ago

Delfite commented 2 years ago

Minecraft Version: 1.18 Fabric Version: 0.12.8 Mod Version: Cardinal-Components-API-3.1.1.jar

Description: The game crashes a few seconds after launch, the loading screen never renders, and the latest.log file mentions Cardinal Components causing an issue at line 444 saying this: Caused by: org.spongepowered.asm.mixin.throwables.MixinApplyError: Mixin [mixins.cardinal_components_block.json:common.MixinBlockEntity] from phase [DEFAULT] in config [mixins.cardinal_components_block.json] from mod [cardinal-components-block] FAILED during APPLY

Crash Report: Game did not generate a crash report Latest.log: https://pastebin.com/tvQYLRbM

UpcraftLP commented 2 years ago

Have you tried using version 4.0.1 of Cardinal Components?

Picono435 commented 2 years ago

There is no way to download 4.0.1..... It's the wrong JAR in GitHub releases and it's not available in Curseforge.

Dustalis commented 2 years ago

I am having the same crash though mine mentions "cardinal_components_chunk" instead of "cardinal-components-block", here is the main error line and the latest log:

[main/ERROR]: Mixin apply for mod cardinal-components-chunk failed mixins.cardinal_components_chunk.json:common.MixinWorldChunk -> net.minecraft.class_2818: org.spongepowered.asm.mixin.transformer.throwables.InvalidMixinException @Shadow method method_12004 in mixins.cardinal_components_chunk.json:common.MixinWorldChunk was not located in the target class net.minecraft.class_2818. Using refmap cardinal-components-chunk-refmap.json
org.spongepowered.asm.mixin.transformer.throwables.InvalidMixinException: @Shadow method method_12004 in mixins.cardinal_components_chunk.json:common.MixinWorldChunk was not located in the target class net.minecraft.class_2818. Using refmap cardinal-components-chunk-refmap.json

latest.log

SPYROHAWK commented 2 years ago

I may as well contribute to the discussion, I am getting the same "cardinal_components_chunk" error as @Dustalis

[12:04:34] [main/ERROR]: Mixin apply for mod cardinal-components-chunk failed mixins.cardinal_components_chunk.json:common.MixinWorldChunk -> net.minecraft.class_2818: org.spongepowered.asm.mixin.transformer.throwables.InvalidMixinException @Shadow method method_12004 in mixins.cardinal_components_chunk.json:common.MixinWorldChunk was not located in the target class net.minecraft.class_2818. Using refmap cardinal-components-chunk-refmap.json org.spongepowered.asm.mixin.transformer.throwables.InvalidMixinException: @Shadow method method_12004 in mixins.cardinal_components_chunk.json:common.MixinWorldChunk was not located in the target class net.minecraft.class_2818. Using refmap cardinal-components-chunk-refmap.json

Not sure why mine is repeating twice. Mine is also 1.18.1 rather than 1.18

latest.log

xR4YM0ND commented 2 years ago

Same for me, only after adding Cardinal Components. Without the mod, the game starts up at least.

`[15:29:04] [main/INFO]: Loading Minecraft 1.18.1 with Fabric Loader 0.12.12 [15:29:04] [ForkJoinPool-1-worker-5/WARN]: The mod "libcd" contains invalid entries in its mod json:

Gamerbolts commented 2 years ago

Hello! My two cents on this.

I am creating a 1.18.1 Fabric modpack and CC is the mod needed for 4 mods I have. I tried running everything in my modpack and it wasn't working. I ran CC with just the mods it was needed to run and it did not work. I then ran CC by itself and am getting errors. No crash log but I have this from my logs folder. Any help is appreciated :)

https://pastebin.com/APCeJ6tP

Flame115 commented 2 years ago

also experiencing the block issue

Pyrofab commented 2 years ago

I believe your CCA version is quite a bit outdated. Please reopen the issue with a new log if you get the same error with version 4.1.2 or up.