diff options
author | Linnea Gräf <nea@nea.moe> | 2025-01-12 15:52:32 +0100 |
---|---|---|
committer | Linnea Gräf <nea@nea.moe> | 2025-01-12 15:52:32 +0100 |
commit | 3d3d521a6c8baaa5153fefa7cfed0cdd69c3fc01 (patch) | |
tree | ced89a4dc59141dfdddb2a6ace7dee87c33647e0 /src | |
parent | aa7e2571afa328a688805ce983da32f10722a6c0 (diff) | |
download | Firmament-3d3d521a6c8baaa5153fefa7cfed0cdd69c3fc01.tar.gz Firmament-3d3d521a6c8baaa5153fefa7cfed0cdd69c3fc01.tar.bz2 Firmament-3d3d521a6c8baaa5153fefa7cfed0cdd69c3fc01.zip |
fix: stack sizes not rendering in REI recipes
Diffstat (limited to 'src')
-rw-r--r-- | src/compat/rei/java/moe/nea/firmament/compat/rei/NEUItemEntryRenderer.kt | 7 |
1 files changed, 3 insertions, 4 deletions
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<SBItemStack> { 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() } |