Andrew6rant / Stacker

Minecraft mod to change the stack size of all items. Fabric 1.19, 1.18, and 1.17.
Creative Commons Zero v1.0 Universal
26 stars 17 forks source link

Can't open the settings of the mod #21

Closed jjalexander closed 2 years ago

jjalexander commented 2 years ago

The game crashes when I try to enter the mod's settings.

The Minecraft launcher shows the following error message: "The game crashed whilst mouseclicked event handler Error: java.lang.IllegalAccessError: class me.shedaniel.clothconfig2.gui.ClothConfigScreen tried to access private field net.minecraft.class_437.field_22786 (me.shedaniel.clothconfig2.gui.ClothConfigScreen and net.minecraft.class_437 are in unnamed module of loader net.fabricmc.loader.impl.launch.knot.KnotClassLoader @32f232a5) Exit Code: -1"

Andrew6rant commented 2 years ago

Do you have cloth config installed?

What versions of Minecraft, Stacker, Stacc API (this should not be installed by you, it is automatically bundled), ModMenu, and Cloth Config are you using?

jjalexander commented 2 years ago

minecraft 1.17.1 fabric-loader 0.12.5 stacc v1.3.0 cloth-config-4.12.41-fabric.jar fabric-api-0.42.1+1.17.jar modmenu-2.0.14.jar stacker-2.1.0.jar

Andrew6rant commented 2 years ago

It looks like cloth-config-4.12.41-fabric.jar is only for Minecraft 1.16.5. Can you try running a cloth config version that is tagged for 1.17.1?

https://www.curseforge.com/minecraft/mc-mods/cloth-config/files/all?filter-game-version=2020709689%3A8516 Here is all the cloth config versions that are confirmed to work with 1.17.1.

jjalexander commented 2 years ago

Thanks for the solution. Works now.