LodestarMC / Lodestone

Library for all of the Lodestar team's projects
https://www.curseforge.com/minecraft/mc-mods/lodestonelib
GNU Lesser General Public License v3.0
75 stars 21 forks source link

Lodestone Incompatibility with Cardinal Components API #39

Closed cranberriez closed 3 months ago

cranberriez commented 3 months ago

Minecraft version 1.20.1, Fabric - 0.15.11

When both mods are active, the game crashes with error code 1.

https://pastebin.com/raw/nYc0FNuH

These are the mods I started with as Dungeon Difficulty and the Ranged Weapon API require Cardinal Components. image

The odd thing is that my other mod pack, which has significantly more mods, works fine with the Cardinal Components API and Lodestone but crashes when Dungeon Difficulty is added to the pack. It crashes with the same error as posted above.

mrsterner commented 3 months ago

This has nothing to do with Cardinal components api, the culprit is Dungeon Difficulty, using a @Redirect in its ItemStackMixin. Make a Issue on their github and ask them to use MixinExtra's @WrapOperation or @ModifyReturnValue