From a9a3cbb0f5bd89026a9a46fc95e8df89962d2d59 Mon Sep 17 00:00:00 2001 From: Sally Knight Date: Thu, 26 Mar 2026 06:09:38 +0300 Subject: [PATCH] fix(jui): disable isConstantBlended for hotbar slot rendering Fixes the issue where in the java UI hotbar, enchant glints make the item appear as a black texture --- Minecraft.Client/UI/Gui.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Minecraft.Client/UI/Gui.cpp b/Minecraft.Client/UI/Gui.cpp index 728277092..dea90b73c 100644 --- a/Minecraft.Client/UI/Gui.cpp +++ b/Minecraft.Client/UI/Gui.cpp @@ -1349,7 +1349,8 @@ void Gui::renderSlot(int slot, int x, int y, float a) { } itemRenderer->renderAndDecorateItem(minecraft->font, minecraft->textures, - item, x, y); + item, x, y, 1.0f, 1.0f, 1.0f, + item->isFoil(), false); if (pop > 0) { glPopMatrix();