Zergatul / cheatutils

MIT License
33 stars 11 forks source link

mod conflict with sodium #37

Closed end-user closed 7 months ago

end-user commented 9 months ago

I think this is a conflict with sodium?

Mixin apply for mod cheatutils failed zergatul.cheatutils.mixins.json:common.MixinLevelRenderer from mod cheatutils -> net.minecraft.class_761: org.spongepowered.asm.mixin.injection.throwables.InvalidInjectionException @At("INVOKE") on net/minecraft/class_761::onRenderChunkLayer with priority 500 cannot inject into net/minecraft/class_761::method_3251(Lnet/minecraft/class_1921;Lnet/minecraft/class_4587;DDDLorg/joml/Matrix4f;)V merged by me.jellysquid.mods.sodium.mixin.core.render.world.WorldRendererMixin with priority 1000 [ -> handler$zle000$cheatutils$onRenderChunkLayer(Lnet/minecraft/class_1921;Lnet/minecraft/class_4587;DDDLorg/joml/Matrix4f;Lorg/spongepowered/asm/mixin/injection/callback/CallbackInfo;)V -> Prepare] org.spongepowered.asm.mixin.injection.throwables.InvalidInjectionException: @At("INVOKE") on net/minecraft/class_761::onRenderChunkLayer with priority 500 cannot inject into net/minecraft/class_761::method_3251(Lnet/minecraft/class_1921;Lnet/minecraft/class_4587;DDDLorg/joml/Matrix4f;)V merged by me.jellysquid.mods.sodium.mixin.core.render.world.WorldRendererMixin with priority 1000 [ -> handler$zle000$cheatutils$onRenderChunkLayer(Lnet/minecraft/class_1921;Lnet/minecraft/class_4587;DDDLorg/joml/Matrix4f;Lorg/spongepowered/asm/mixin/injection/callback/CallbackInfo;)V -> Prepare]

Zergatul commented 9 months ago

What is game version?

end-user commented 9 months ago

sorry; mc v1.20.1 w/ sodium 0.5.2. I think it was working with the previous cheatutils.

end-user commented 9 months ago

Actually, it may be working, but there's still an error in the log

Zergatul commented 9 months ago

Some time ago I added option to "silently continue" if mixin error occurs in cheatutils. That means there is conflict, and something may not work, but at least it is not crashing.

end-user commented 9 months ago

Ok, well I think one thing that's not working is the pearl path. Can test with the other traces too, but I assume those won't work either. FWIW, it was but that might have been before upgrading to 1.20.

Zergatul commented 9 months ago

This particular mixin from your error is necessary only for Schematica module.

end-user commented 7 months ago

still seeing it in the log, but closing as the mod is working.