ImmersiveEngineering icon indicating copy to clipboard operation
ImmersiveEngineering copied to clipboard

Optifine mixins crash dev environments

Open rlnt opened this issue 3 years ago • 2 comments

Minecraft Version

1.18

Immersive Engineering Version

8.2.1-152

How did it happen?

When loading Immersive Engineering in a dev environment, it will always crash your game upon loading the world.

Doesn't matter if you implement it with a flatDir dependency, with CurseMaven or with your official artifacts from the BlameJared maven. It always crashes when loaded into the runtime.

Seems to be caused by the Optifine mixin targetted by RebuildTaskMixin.

[22:55:01] [Render thread/WARN] (mixin) Error loading class: net/optifine/override/ChunkCacheOF (java.lang.ClassNotFoundException: net.optifine.override.ChunkCacheOF)

Crash Log

https://pastebin.com/XZCBDesG

rlnt avatar Sep 20 '22 21:09 rlnt

This is with arch-loom, right? I'm pretty sure it works fine under ForgeGradle (various people including myself have done addon dev on 1.18), so I'd consider it a bug in arch.

malte0811 avatar Sep 21 '22 05:09 malte0811

Is is but wouldn't it make sense to make this a conditional mixin if the target mod is actually found? We use a MixinPlugin for that in our mods which works pretty well.

rlnt avatar Sep 22 '22 18:09 rlnt