diff --git a/src/main/java/dan200/computercraft/shared/peripheral/monitor/BlockMonitor.java b/src/main/java/dan200/computercraft/shared/peripheral/monitor/BlockMonitor.java index 104ef94cc..50d61c5e2 100644 --- a/src/main/java/dan200/computercraft/shared/peripheral/monitor/BlockMonitor.java +++ b/src/main/java/dan200/computercraft/shared/peripheral/monitor/BlockMonitor.java @@ -49,9 +49,18 @@ public class BlockMonitor extends BlockGeneric @Override public BlockRenderLayer getRenderLayer() { + // We use the CUTOUT layer, as otherwise monitor rendering will cause flickering. return BlockRenderLayer.CUTOUT; } + @Override + @Deprecated + public boolean isSolid( BlockState p_200124_1_ ) + { + // We override isSolid, as our overriding of getRenderLayer means that it would otherwise return false. + return true; + } + @Override protected void fillStateContainer( StateContainer.Builder builder ) {