Fix build issues

This commit is contained in:
simibubi 2021-03-08 17:42:50 +01:00
parent 21d87a0cfe
commit bea60ccb86

View File

@ -45,7 +45,7 @@ public class RenderHooksMixin {
GL20.glUseProgram(0); GL20.glUseProgram(0);
} }
@Inject(at = @At(value = "INVOKE", target = "updateChunks(J)V"), method = "render") @Inject(at = @At(value = "INVOKE", target = "net.minecraft.client.renderer.WorldRenderer.updateChunks(J)V"), method = "render")
private void setupFrame(MatrixStack p_228426_1_, float p_228426_2_, long p_228426_3_, boolean p_228426_5_, ActiveRenderInfo info, GameRenderer p_228426_7_, LightTexture p_228426_8_, Matrix4f p_228426_9_, CallbackInfo ci) { private void setupFrame(MatrixStack p_228426_1_, float p_228426_2_, long p_228426_3_, boolean p_228426_5_, ActiveRenderInfo info, GameRenderer p_228426_7_, LightTexture p_228426_8_, Matrix4f p_228426_9_, CallbackInfo ci) {
Vec3d cameraPos = info.getProjectedView(); Vec3d cameraPos = info.getProjectedView();
double camX = cameraPos.getX(); double camX = cameraPos.getX();