Lots and lots of fancy rendering!

This commit is contained in:
aidancbrady committed 2016-05-11 17:42:51 -04:00
1 parent f4023f8baf
commit 8b1017a3a8
65 files changed
+133 -839

No files matched your search

@@ -29,10 +29,10 @@ public class RenderBin extends TileEntitySpecialRenderer<TileEntityBin>
return;
}
render(tileEntity.facing, tileEntity.itemType, tileEntity.clientAmount, x, y, z);
render(tileEntity.facing, tileEntity.itemType, tileEntity.clientAmount, true, x, y, z);
}
public void render(EnumFacing facing, ItemStack itemType, int clientAmount, double x, double y, double z)
public void render(EnumFacing facing, ItemStack itemType, int clientAmount, boolean text, double x, double y, double z)
{
String amount = "";
@@ -75,7 +75,7 @@ public class RenderBin extends TileEntitySpecialRenderer<TileEntityBin>
GlStateManager.popMatrix();
}
if(!amount.equals(""))
if(text && !amount.equals(""))
{
renderText(amount, facing, 0.02F, x, y - 0.3725F, z);
}