float f4 = flag3 ? 0.0F : f;
float f5 = flag4 ? 1.0F : f1;
float f6 = flag5 ? 0.0F : f;
float f7 = flag6 ? 1.0F : f1;
if (flag1)
{
this.setRenderBounds((double)f4, (double)f2, (double)f, (double)f5, (double)f3, (double)f1);
this.renderStandardBlock(par1BlockFence, par2, par3, par4);
flag = true;
}
if (flag2)
{
this.setRenderBounds((double)f, (double)f2, (double)f6, (double)f1, (double)f3, (double)f7);
this.renderStandardBlock(par1BlockFence, par2, par3, par4);
flag = true;
}
f2 = 0.375F;
f3 = 0.5625F;
if (flag1)
{
this.setRenderBounds((double)f4, (double)f2, (double)f, (double)f5, (double)f3, (double)f1);
this.renderStandardBlock(par1BlockFence, par2, par3, par4);
flag = true;
}
if (flag2)
{
this.setRenderBounds((double)f, (double)f2, (double)f6, (double)f1, (double)f3, (double)f7);
this.renderStandardBlock(par1BlockFence, par2, par3, par4);
flag = true;
}