Make the monitor depth blocker slightly larger

This commit is contained in:
Jonathan Coates
2021-09-25 16:46:37 +01:00
parent 5facbca2b3
commit acaa61a720
@@ -140,8 +140,8 @@ public class TileEntityMonitorRenderer extends TileEntityRenderer<TileMonitor>
FixedWidthFontRenderer.drawBlocker(
transform.last().pose(), renderer,
(float) -TileMonitor.RENDER_MARGIN, (float) TileMonitor.RENDER_MARGIN,
(float) (xSize + 2 * TileMonitor.RENDER_MARGIN), (float) -(ySize + TileMonitor.RENDER_MARGIN * 2)
-MARGIN, MARGIN,
(float) (xSize + 2 * MARGIN), (float) -(ySize + MARGIN * 2)
);
// Force a flush of the blocker. WorldRenderer.updateCameraAndRender will "finish" all the built-in