offset itemstack decorations as well

This commit is contained in:
YuRaNnNzZZ 2023-05-09 03:43:46 +03:00
parent 61d4bf57a6
commit f177e796d7
Signed by: YuRaNnNzZZ
GPG Key ID: 5F71738C85A6006D

View File

@ -82,7 +82,14 @@ abstract class MatteryScreen<T : MatteryMenu>(menu: T, inventory: Inventory, tit
) )
RenderSystem.depthFunc(GL11.GL_ALWAYS) RenderSystem.depthFunc(GL11.GL_ALWAYS)
itemRenderer.renderGuiItemDecorations(poseStack, font, itemstack, 0, 0, countOverride) itemRenderer.renderGuiItemDecorations(
poseStack,
font,
itemstack,
1,
1,
countOverride
)
} }
} }