fix: stack sizes not rendering in REI recipes
This commit is contained in:
@@ -39,10 +39,9 @@ object NEUItemEntryRenderer : EntryRenderer<SBItemStack> {
|
|||||||
context.matrices.push()
|
context.matrices.push()
|
||||||
context.matrices.translate(bounds.centerX.toFloat(), bounds.centerY.toFloat(), 0F)
|
context.matrices.translate(bounds.centerX.toFloat(), bounds.centerY.toFloat(), 0F)
|
||||||
context.matrices.scale(bounds.width.toFloat() / 16F, bounds.height.toFloat() / 16F, 1f)
|
context.matrices.scale(bounds.width.toFloat() / 16F, bounds.height.toFloat() / 16F, 1f)
|
||||||
context.drawItemWithoutEntity(
|
val item = entry.asItemEntry().value
|
||||||
entry.asItemEntry().value,
|
context.drawItemWithoutEntity(item, -8, -8, )
|
||||||
-8, -8,
|
context.drawStackOverlay(minecraft.textRenderer, item, -8, -8)
|
||||||
)
|
|
||||||
context.matrices.pop()
|
context.matrices.pop()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user