TheCBProject / CodeChickenLib

GNU Lesser General Public License v2.1
117 stars 55 forks source link

Crash. Minecraft 1.19.2. Forge 43.2.0. codechicken:CodeChickenLib:1.19.2-4.3.1.483:universal #445

Closed S4TURN21 closed 1 year ago

S4TURN21 commented 1 year ago

Crash. Minecraft 1.19.2. Forge 43.2.0. codechicken:CodeChickenLib:1.19.2-4.3.1.483:universal crash-2023-07-29_14.08.59-client.txt

S4TURN21 commented 1 year ago

If I read crash log correctly, the error occurs in codechicken.lib.internal.HighlightHandler on line 39, during class loading. Looks like POSITION_COLOR_SHADER has protected access in 'net.minecraft.client.renderer.RenderStateShard'.

S4TURN21 commented 1 year ago

It seems that a lot of properties have become protected or private. Am I doing something wrong?

S4TURN21 commented 1 year ago

My bad. I didn't set accessTransformer in build.gradle. Used EnderStorage as example. Thx!

S4TURN21 commented 1 year ago

Nope. Same error. Even tried downloading EnderStorage repository and building it. crash-2023-07-30_13.37.32-client.txt

S4TURN21 commented 1 year ago

Solved by adding this lines in build.gradle -> runs -> client:

property 'mixin.env.remapRefMap', 'true'
property 'mixin.env.refMapRemappingFile', "${projectDir}/build/createSrgToMcp/output.srg"