From 22bcbde6a30fd99770d45a8c4aa40449b806e033 Mon Sep 17 00:00:00 2001 From: qloak Date: Tue, 14 Jul 2026 21:42:19 +0100 Subject: [PATCH] fix(TU20): fixed name tag Y-position for tall mobs (wither, iron golem, wither skeleton) (#4) title Reviewed-on: https://git.neolegacy.dev/pieeebot/mc_pieLCE/pulls/4 Co-authored-by: qloak Co-committed-by: qloak --- Minecraft.Client/LivingEntityRenderer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Minecraft.Client/LivingEntityRenderer.cpp b/Minecraft.Client/LivingEntityRenderer.cpp index 9e8682c7..7f4a3258 100644 --- a/Minecraft.Client/LivingEntityRenderer.cpp +++ b/Minecraft.Client/LivingEntityRenderer.cpp @@ -491,7 +491,7 @@ void LivingEntityRenderer::renderNameTag(shared_ptr mob, const wst float s = 1 / 60.0f * size; glPushMatrix(); - glTranslatef((float) x, (float) y + 2.3f, (float) z); + glTranslatef((float) x, (float) y + mob->bbHeight + 0.5f, (float) z); glNormal3f(0, 1, 0); glRotatef(-this->entityRenderDispatcher->playerRotY, 0, 1, 0);