Fix blackhole stats rendering outline

This commit is contained in:
DBotThePony 2024-10-02 11:59:17 +07:00
parent 4bbcbc8ea6
commit 693075d600
Signed by: DBot
GPG Key ID: DCC23B5715498507

View File

@ -185,8 +185,8 @@ class BlackHoleRenderer(private val context: BlockEntityRendererProvider.Context
val sorse = DynamicBufferSource.WORLD
font.draw(poseStack, text1, 0.8f, 0.8f - font.lineHeight.toFloat() / 2f, gravity = RenderGravity.TOP_LEFT, color = RGBAColor.WHITE, buffer = sorse, drawOutline = true)
font.draw(poseStack, text2, 0.8f, 0.8f + font.lineHeight.toFloat() / 2f, gravity = RenderGravity.TOP_LEFT, color = RGBAColor.WHITE, buffer = sorse, drawOutline = true)
font.draw(poseStack, text1, 0.8f, 0.8f - font.lineHeight.toFloat() / 2f, gravity = RenderGravity.TOP_LEFT, color = RGBAColor.WHITE, buffer = sorse, drawOutline = true, outlineZ = 0.1f)
font.draw(poseStack, text2, 0.8f, 0.8f + font.lineHeight.toFloat() / 2f, gravity = RenderGravity.TOP_LEFT, color = RGBAColor.WHITE, buffer = sorse, drawOutline = true, outlineZ = 0.1f)
poseStack.popPose()
}