diff --git a/src/main/java/com/b1n_ry/yigd/client/render/GraveBlockEntityRenderer.java b/src/main/java/com/b1n_ry/yigd/client/render/GraveBlockEntityRenderer.java index 5b68392..7442cfb 100644 --- a/src/main/java/com/b1n_ry/yigd/client/render/GraveBlockEntityRenderer.java +++ b/src/main/java/com/b1n_ry/yigd/client/render/GraveBlockEntityRenderer.java @@ -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; @@ -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 { @@ -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;