From ec5a9a41cbf9d828838de8793a2a1a6824232071 Mon Sep 17 00:00:00 2001 From: Mysticpasta1 Date: Sun, 31 Dec 2023 16:55:44 -0600 Subject: [PATCH] update --- .../mystic/holographicrenders/client/RenderDataProvider.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/mystic/holographicrenders/client/RenderDataProvider.java b/src/main/java/com/mystic/holographicrenders/client/RenderDataProvider.java index c4ba3c8..18a254e 100644 --- a/src/main/java/com/mystic/holographicrenders/client/RenderDataProvider.java +++ b/src/main/java/com/mystic/holographicrenders/client/RenderDataProvider.java @@ -119,7 +119,7 @@ public void render(MatrixStack matrices, VertexConsumerProvider.Immediate immedi //matrices.scale(0.0f, 0.0f, 0.0f); //TODO make this usable with scaling sliders matrices.multiply(RotationAxis.POSITIVE_Y.rotationDegrees((float) (System.currentTimeMillis() / 60d % 360d))); -// MinecraftClient.getInstance().getItemRenderer().renderItem(data, ModelTransformationMode.GROUND, light, overlay, matrices, immediate.getBuffer(RenderLayer.getSolid()), null, 0); //TODO: FIX + MinecraftClient.getInstance().getItemRenderer().renderItem(data, ModelTransformationMode.GROUND, light, overlay, matrices, immediate, null, 0); //TODO: FIX } @Override @@ -351,7 +351,7 @@ public static AreaProvider from(BlockPos start, BlockPos end) throws ExecutionEx @Environment(EnvType.CLIENT) public void render(MatrixStack matrices, VertexConsumerProvider.Immediate immediate, float tickDelta, int light, int overlay, BlockEntity be) { - if (client.world.getTime() - lastUpdateTick > 1200) { + if (client.world.getTime() - lastUpdateTick > 160) { lastUpdateTick = client.world.getTime(); mesh.scheduleRebuild(); }