float scale = ((TileEntityCertusTank) tileEntity).getRenderScale();
if (storedFluid != null && scale > 0)
{
GL11.glEnable(GL11.GL_BLEND);
GL11.glBlendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE_MINUS_SRC_ALPHA);
Block id = Block.blocksList[FluidRegistry.WATER.getBlockID()];
Icon fluidIcon = storedFluid.getIcon();
if (fluidIcon == null)
fluidIcon = FluidRegistry.LAVA.getIcon();
renderer.setRenderBounds(0.08F, 0.001F, 0.08F, 0.92, scale * 0.999F, 0.92F);
tessellator.setNormal(0.0F, -1F, 0.0F);