Frinn38 / Custom-Machinery

A Minecraft Mod about creating custom machines that works
GNU Lesser General Public License v3.0
45 stars 17 forks source link

[1.18.2 Fabric] Incompatibility with Chisels and Bits (crash) #101

Closed KonSola5 closed 1 year ago

KonSola5 commented 1 year ago

When adding Custom Machinery to a modpack, the game crashes with: [14:32:38] [main/ERROR]: Minecraft has crashed! net.fabricmc.loader.impl.FormattedException: java.lang.RuntimeException: Mixin transformation of net.minecraft.class_1309 failed upon attempting to load the pack.

Here's the full log:

latest.log

(I can't find the debug.log though...)

KonSola5 commented 1 year ago

Runs fine on the minimal setup. Strange. This must be some sort of mod incompatibility.

KonSola5 commented 1 year ago

Turns out, the mod is incompatible with Chisels and Bits.

Frinn38 commented 1 year ago

It seems that both Custom Machinery and Chisels & Bits mixin the same methods, probably to achieve the same goal (modifying light and sound emissions of a block). Unfortunately that feature that can be easily achieved in Forge seems to be missing on Fabric, which is why both mods are relying on mixins to do it. I fixed it on my side by making my mixins optionals, that means that in latest update (0.8.6) CM will not crash if C&B is installed, however some feature such as light and sounds appearance properties won't work.

Frinn38 commented 1 year ago

Should be fixed in CM 0.9.2