VazkiiMods / Quark

Small things, improving Minecraft without changing the core gameplay.
https://quark.vazkii.net
Other
587 stars 287 forks source link

Game crashes when I use Quark in my architectury mod as dependency #5049

Closed kallmetony closed 2 months ago

kallmetony commented 2 months ago

Firstly I encountered this issue

[12:45:48] [main/INFO] (mixin) Remapping refMap quark.mixins.refmap.json using RemapperChain (Architectury Patched)
[12:45:48] [main/INFO] (mixin) Remapping refMap quark.mixins.refmap.json using RemapperChain (Architectury Patched)
[12:45:49] [main/WARN] (mixin) Error loading class: noobanidus/mods/lootr/config/ConfigManager (java.lang.ClassNotFoundException: noobanidus.mods.lootr.config.ConfigManager)
[12:45:49] [main/WARN] (mixin) Error loading class: com/llamalad7/mixinextras/sugar/ref/LocalRef (java.lang.ClassNotFoundException: com.llamalad7.mixinextras.sugar.ref.LocalRef)
Exception in thread "main" java.lang.RuntimeException: org.spongepowered.asm.mixin.transformer.throwables.MixinTransformerError: An unexpected critical error was encountered
    at MC-BOOTSTRAP/cpw.mods.modlauncher@10.0.9/cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:32)

Then I added

     annotationProcessor("io.github.llamalad7:mixinextras-common:0.4.1")?.let { compileOnly(it) }
    include("io.github.llamalad7:mixinextras-forge:0.4.1")?.let { implementation(it) }

and got following result

image