From 3d3d521a6c8baaa5153fefa7cfed0cdd69c3fc01 Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Sun, 12 Jan 2025 15:52:32 +0100 Subject: fix: stack sizes not rendering in REI recipes --- .../rei/java/moe/nea/firmament/compat/rei/NEUItemEntryRenderer.kt | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/compat/rei/java/moe/nea/firmament') diff --git a/src/compat/rei/java/moe/nea/firmament/compat/rei/NEUItemEntryRenderer.kt b/src/compat/rei/java/moe/nea/firmament/compat/rei/NEUItemEntryRenderer.kt index 5430ea8..c40f00b 100644 --- a/src/compat/rei/java/moe/nea/firmament/compat/rei/NEUItemEntryRenderer.kt +++ b/src/compat/rei/java/moe/nea/firmament/compat/rei/NEUItemEntryRenderer.kt @@ -39,10 +39,9 @@ object NEUItemEntryRenderer : EntryRenderer { context.matrices.push() context.matrices.translate(bounds.centerX.toFloat(), bounds.centerY.toFloat(), 0F) context.matrices.scale(bounds.width.toFloat() / 16F, bounds.height.toFloat() / 16F, 1f) - context.drawItemWithoutEntity( - entry.asItemEntry().value, - -8, -8, - ) + val item = entry.asItemEntry().value + context.drawItemWithoutEntity(item, -8, -8, ) + context.drawStackOverlay(minecraft.textRenderer, item, -8, -8) context.matrices.pop() } -- cgit