Add support for disabling rendering

This commit is contained in:
James Seibel
2021-11-21 22:15:10 -06:00
parent 8a574074c5
commit 05a3d4002f
2 changed files with 1 additions and 2 deletions
+1 -1
Submodule core updated: a0529a310b...0bc96a98cf
@@ -59,7 +59,6 @@ public class MixinWorldRenderer
@Inject(at = @At("HEAD"), method = "renderChunkLayer(Lnet/minecraft/client/renderer/RenderType;Lcom/mojang/blaze3d/matrix/MatrixStack;DDD)V")
private void renderChunkLayer(RenderType renderType, MatrixStack matrixStackIn, double xIn, double yIn, double zIn, CallbackInfo callback)
{
// only render if LODs are enabled and
// only render before solid blocks
if (renderType.equals(RenderType.solid()))
{