From 88f8216b18cec410feee3487c3d69d6a8fb369fa Mon Sep 17 00:00:00 2001 From: FirstMegaGame4 <84094287+FirstMegaGame4@users.noreply.github.com> Date: Tue, 29 Oct 2024 22:42:59 +0100 Subject: [PATCH] Stellar Objects do not go through the Dimension anymore --- .../mmodding_lib/library/stellar/client/StellarObject.java | 1 + .../mixin/injectors/client/ItemRenderContextMixin.java | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/mmodding/mmodding_lib/library/stellar/client/StellarObject.java b/src/main/java/com/mmodding/mmodding_lib/library/stellar/client/StellarObject.java index 46c0c81..3996274 100644 --- a/src/main/java/com/mmodding/mmodding_lib/library/stellar/client/StellarObject.java +++ b/src/main/java/com/mmodding/mmodding_lib/library/stellar/client/StellarObject.java @@ -46,6 +46,7 @@ public StellarStatus getStatus(ClientWorld world) { public void render(MatrixStack matrices, ClientWorld world, float tickDelta) { + RenderSystem.depthMask(false); VertexBuffer.unbind(); RenderSystem.enableBlend(); RenderSystem.defaultBlendFunc(); diff --git a/src/main/java/com/mmodding/mmodding_lib/mixin/injectors/client/ItemRenderContextMixin.java b/src/main/java/com/mmodding/mmodding_lib/mixin/injectors/client/ItemRenderContextMixin.java index 378ad67..8c4c5be 100644 --- a/src/main/java/com/mmodding/mmodding_lib/mixin/injectors/client/ItemRenderContextMixin.java +++ b/src/main/java/com/mmodding/mmodding_lib/mixin/injectors/client/ItemRenderContextMixin.java @@ -2,7 +2,6 @@ import com.llamalad7.mixinextras.injector.wrapoperation.Operation; import com.llamalad7.mixinextras.injector.wrapoperation.WrapOperation; -import com.mmodding.mmodding_lib.MModdingLib; import com.mmodding.mmodding_lib.library.glint.client.GlintPack; import com.mojang.blaze3d.vertex.VertexConsumer; import net.fabricmc.fabric.impl.client.indigo.renderer.render.ItemRenderContext;