Skip to content

Commit

Permalink
Removed cull from adaptive renderer, so it looks better
Browse files Browse the repository at this point in the history
  • Loading branch information
B1n-ry committed Mar 23, 2024
1 parent 3e12281 commit d43ce39
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
import net.minecraft.client.render.block.entity.BlockEntityRendererFactory;
import net.minecraft.client.render.block.entity.SkullBlockEntityModel;
import net.minecraft.client.render.block.entity.SkullBlockEntityRenderer;
import net.minecraft.client.render.model.BakedQuad;
import net.minecraft.client.texture.Sprite;
import net.minecraft.client.util.SpriteIdentifier;
import net.minecraft.client.util.math.MatrixStack;
import net.minecraft.screen.PlayerScreenHandler;
Expand All @@ -34,6 +36,7 @@
import org.joml.Quaternionf;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class GraveBlockEntityRenderer implements BlockEntityRenderer<GraveBlockEntity> {
Expand Down Expand Up @@ -173,7 +176,7 @@ private void renderGraveModel(GraveBlockEntity entity, float ignoredTickDelta, M

this.client.getBlockRenderManager()
.renderBlock(blockUnder, underPos, world, matrices, vertexConsumers.getBuffer(
RenderLayer.getCutout()), true, world.random);
RenderLayer.getCutout()), false, world.random);
matrices.pop();

continue;
Expand Down

0 comments on commit d43ce39

Please sign in to comment.