Skip to content

Commit

Permalink
Render Placed Item Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabboz authored Aug 26, 2024
1 parent 7691b37 commit 17301b2
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,11 @@ public void renderItem(TilePlacedItem tile) {
GL11.glTranslatef(0.0F, -0.18F, 0.0F);
}

GL11.glEnable(GL11.GL_BLEND);
GL11.glBlendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE_MINUS_SRC_ALPHA);
GL11.glPushAttrib(GL11.GL_COLOR_BUFFER_BIT);
RenderItem.renderInFrame = true;
RenderManager.instance.renderEntityWithPosYaw(itemEntity, 0.0D, 0.0D, 0.0D, 0.0F, 0.0F);
RenderItem.renderInFrame = false;
GL11.glDisable(GL11.GL_BLEND);
GL11.glPopAttrib();
}

private void metaAdjustItemTool(int meta) {
Expand Down

0 comments on commit 17301b2

Please sign in to comment.