BadOptimizations

BadOptimizations

18M Downloads

Weird Mixin causing crash in dev env that importing this mod

Closed this issue · 5 comments

commented

https://github.com/ItsThosea/BadOptimizations/blob/master/common/src/main/java/me/thosea/badoptimizations/mixin/entitydata/MixinLivingEntity.java#L93

It's using the shadow method from super class which won't be processed by mixin at runtime.
In prod it's compiled to the mapped name. But the loom won't remap it to named. It'll be handled by Mixin at runtime.

The image is exported mixed classes. The one in LivingEntity not named
图片

commented

Does this fix the issue?
mod.zip

commented

i'm on 1.20.1 xd

commented
commented

fine

commented

yay