From b2d309b17e447710c0de8d6913365c9cbd8a4019 Mon Sep 17 00:00:00 2001 From: Christian Date: Mon, 19 Aug 2013 16:32:47 -0400 Subject: [PATCH] Allow multipass RenderItem rendering for terrain icons too. Should fix sengir's saplings. --- .../client/renderer/entity/RenderItem.java.patch | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/patches/minecraft/net/minecraft/client/renderer/entity/RenderItem.java.patch b/patches/minecraft/net/minecraft/client/renderer/entity/RenderItem.java.patch index 55fa0f85e..cd68abb9a 100644 --- a/patches/minecraft/net/minecraft/client/renderer/entity/RenderItem.java.patch +++ b/patches/minecraft/net/minecraft/client/renderer/entity/RenderItem.java.patch @@ -63,6 +63,15 @@ GL11.glRotatef(f3, 0.0F, 1.0F, 0.0F); if (renderInFrame) +@@ -127,7 +118,7 @@ + { + float f8; + +- if (itemstack.getItemSpriteNumber() == 1 && itemstack.getItem().requiresMultipleRenderPasses()) ++ if (itemstack.getItem().requiresMultipleRenderPasses()) + { + if (renderInFrame) + { @@ -139,10 +130,10 @@ GL11.glScalef(0.5F, 0.5F, 0.5F); }