mirror of
https://github.com/Creators-of-Create/Create.git
synced 2025-01-27 13:28:00 +01:00
use itemRenderer.render instead of renderStatic in ValueBoxRenderer
This commit is contained in:
parent
d48a504486
commit
a5b073d9c6
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ public class ValueBoxRenderer {
|
|||
float zOffset = (!blockItem ? -.15f : 0) + customZOffset(filter.getItem());
|
||||
ms.scale(scale, scale, scale);
|
||||
ms.translate(0, 0, zOffset);
|
||||
itemRenderer.renderStatic(filter, ItemDisplayContext.FIXED, light, overlay, ms, buffer, mc.level, 0);
|
||||
itemRenderer.render(filter, ItemDisplayContext.FIXED, false, ms, buffer, light, overlay, modelWithOverrides);
|
||||
}
|
||||
|
||||
public static void renderFlatItemIntoValueBox(ItemStack filter, PoseStack ms, MultiBufferSource buffer, int light,
|
||||
|
|
Loading…
Reference in a new issue