GregTech icon indicating copy to clipboard operation
GregTech copied to clipboard

Facades cause crash[BUG]

Open VodaVodichka opened this issue 4 years ago • 4 comments

https://pastebin.com/9Lmg1yYw

VodaVodichka avatar Jul 25 '21 20:07 VodaVodichka

What makes you think this is facades? There is nothing in what you posted about facades.

The dump you posted above shows a corrupted Minecraft class, in particular the net.minecraft.world.World class.

The only reason GregTech is reported here is because it is the one trying to load the broken class.

What has happened is that one of your mods has changed the minecraft world class, but done it in a broken way. It could be 2 of them "treading on each other's toes".

The actual error is:

Caused by: java.lang.VerifyError: Inconsistent stackmap frames at branch target 47
Exception Details:
Location:
net/minecraft/world/World.func_175638_a(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/EnumSkyBlock;)I @32: goto
Reason:
Current frame's stack size doesn't match stackmap.

Which has a mapping description:

func_175638_a,getRawLight,2,gets the light level at the supplied position

My first guess is the dynamic lighting mod given what the broken method does? Or it could be optifine since you have that loaded.

Quark is also mentioned as transforming the world class, but different methods:

[20:51:22] [Client thread/INFO] [Quark ASM]: Located patch target node INVOKEVIRTUAL net/minecraft/world/World.func_180501_a (Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/state/IBlockState;I)Z

There could be others that are not as helpful in logging their changes.

GregTech itself does not modify that class so it is not going to be the one causing your problem. It is just an innocent bystander here.

warjort avatar Jul 26 '21 01:07 warjort

Dynamic lights is modifying that method see:

https://github.com/AtomicStryker/atomicstrykers-minecraft-mods/blob/ef09387bf9207df3c0080cff89fa872932830c49/DynamicLights/src/main/java/atomicstryker/dynamiclights/common/DLTransformer.java#L36

warjort avatar Jul 26 '21 01:07 warjort

Oh shit, i'm sorry. I'm absolutely helpless in these things. So, thanks for support and for explanation of the problem. Do you know any other mods with the same functions like Dynamic lights?

VodaVodichka avatar Jul 26 '21 09:07 VodaVodichka

Sorry, I don't even know what dynamic lights does. You should ask on reddit or similar.

warjort avatar Jul 26 '21 10:07 warjort