mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-25 14:24:35 +00:00
Lots and lots of fancy rendering!
This commit is contained in:
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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user