SuperMartijn642 / MovingElevators

22 stars 18 forks source link

[Crash] mixin breakage with iris 1.8 and sodium 0.6 for forge #225

Closed Mysticpasta1 closed 2 months ago

Mysticpasta1 commented 4 months ago

Version Info

Are you using OptiFine?: No

Steps to Reproduce Crash report (~/logs/latest.log) iris has a new forge version out that isn't oculus can you make moving elevators compat iwth it rn it breaks completely [12:03:49] [Render thread/FATAL] [mixin/]: Mixin apply for mod movingelevators failed movingelevators.mixins.json:LevelRendererMixin from mod movingelevators -> net.minecraft.client.renderer.LevelRenderer: org.spongepowered.asm.mixin.injection.throwables.InvalidInjectionException InjectionPoint(Shift)[@At("INVOKE")] on net/minecraft/client/renderer/LevelRenderer::renderChunkLayer with priority 1000 cannot inject into net/minecraft/client/renderer/LevelRenderer::m172993(Lnet/minecraft/client/renderer/RenderType;Lcom/mojang/blaze3d/vertex/PoseStack;DDDLorg/joml/Matrix4f;)V merged by net.caffeinemc.mods.sodium.mixin.core.render.world.LevelRendererMixin with priority 1000 [PREINJECT Applicator Phase -> movingelevators.mixins.json:LevelRendererMixin from mod movingelevators -> Prepare Injections -> -> handler$cmh000$movingelevators$renderChunkLayer(Lnet/minecraft/client/renderer/RenderType;Lcom/mojang/blaze3d/vertex/PoseStack;DDDLorg/joml/Matrix4f;Lorg/spongepowered/asm/mixin/injection/callback/CallbackInfo;)V -> Prepare] org.spongepowered.asm.mixin.injection.throwables.InvalidInjectionException: InjectionPoint(Shift)[@At("INVOKE")] on net/minecraft/client/renderer/LevelRenderer::renderChunkLayer with priority 1000 cannot inject into net/minecraft/client/renderer/LevelRenderer::m172993(Lnet/minecraft/client/renderer/RenderType;Lcom/mojang/blaze3d/vertex/PoseStack;DDDLorg/joml/Matrix4f;)V merged by net.caffeinemc.mods.sodium.mixin.core.render.world.LevelRendererMixin with priority 1000 [PREINJECT Applicator Phase -> movingelevators.mixins.json:LevelRendererMixin from mod movingelevators -> Prepare Injections -> -> handler$cmh000$movingelevators$renderChunkLayer(Lnet/minecraft/client/renderer/RenderType;Lcom/mojang/blaze3d/vertex/PoseStack;DDDLorg/joml/Matrix4f;Lorg/spongepowered/asm/mixin/injection/callback/CallbackInfo;)V -> Prepare] [12:10 PM] here is the stacktrace for the mixin that exploded

219 might fix it

SuperMartijn642 commented 2 months ago

Moving Elevators should now be compatible with Embeddium, Rubidium, Oculus, and versions of Sodium before and after 0.6, and versions of Iris before and after 1.8. Thank you for reporting the issue!