iChunUtil crashes with mist475's Dynamic Surroundings fork
Kaguya233qwq opened this issue · 5 comments
When I trying put the unimixins with a lib called iChunUtil ,my game crashed. Please help me to fix it.Thanks a lot.
minecraft-exported-logs-2024-02-06T12-32-09.log
Caused by: org.spongepowered.asm.mixin.transformer.throwables.InvalidMixinException: PRIVATE @Overwrite method func_78484_h in mixins.dsurround.early.json:MixinEntityRenderer from mod dsurround cannot reduce visibiliy of PUBLIC target method
This is an issue with your Dynamic Surroundings fork (I'm glad it uses a different version number than the original otherwise this would've been very confusing!), not something caused by UniMixins. iChunUtil access transforms a method to be public, but DS tries to @Overwrite
it to be private, causing a conflict.
The easiest way to fix it is to change the @Overwrite
method to be public. Alternatively the mixin config plugin can be changed like this to be less strict about overwrites.
I just got around to testing this, the conformVisibility should be added to the early mixins json if that's present, not the regular one which is something people should keep in mind
It should be added to the json that corresponds to the offending mixin, which was the early one in your case (given that all your mixins are early), but could also be any other one depending on the mod.