Fix blackhole stats rendering outline
This commit is contained in:
parent
4bbcbc8ea6
commit
693075d600
@ -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()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user