aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoringlettronald <inglettronald@gmail.com>2023-07-16 02:37:57 -0500
committeringlettronald <inglettronald@gmail.com>2023-07-16 02:37:57 -0500
commit59f0d43c301b926bef01439adb7ab2a5d465837b (patch)
treec57ffdc28873c2b7cda3d00658c7b34ffe3ecedf /src
parent315806e46706bab6465601282d908b46dd7e60b4 (diff)
downloadDulkirMod-Fabric-59f0d43c301b926bef01439adb7ab2a5d465837b.tar.gz
DulkirMod-Fabric-59f0d43c301b926bef01439adb7ab2a5d465837b.tar.bz2
DulkirMod-Fabric-59f0d43c301b926bef01439adb7ab2a5d465837b.zip
Small Z level optimization
Diffstat (limited to 'src')
-rw-r--r--src/main/kotlin/com/dulkirfabric/util/WorldRenderUtils.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/kotlin/com/dulkirfabric/util/WorldRenderUtils.kt b/src/main/kotlin/com/dulkirfabric/util/WorldRenderUtils.kt
index 4ba3ca5..9f25ab4 100644
--- a/src/main/kotlin/com/dulkirfabric/util/WorldRenderUtils.kt
+++ b/src/main/kotlin/com/dulkirfabric/util/WorldRenderUtils.kt
@@ -261,7 +261,7 @@ object WorldRenderUtils {
.light(LightmapTextureManager.MAX_BLOCK_LIGHT_COORDINATE)
.next()
- matrices.translate(0F, 0F, 0.05F)
+ matrices.translate(0F, 0F, 0.01F)
textRenderer.draw(
text, -textRenderer.getWidth(text).toFloat() / 2, 0f, 0xFFFFFF, false, matrix4f, vertexConsumer,