public boolean renderWorldBlock (IBlockAccess world, int x, int y, int z, Block block, int modelId, RenderBlocks renderer)
{
boolean temp = renderer.renderAllFaces;
renderer.renderAllFaces = true;
GlassPaneConnected pane = (GlassPaneConnected) block;
boolean flag = pane.canPaneConnectTo(world, x, y, z, EAST);
boolean flag1 = pane.canPaneConnectTo(world, x, y, z, WEST);
boolean flag2 = pane.canPaneConnectTo(world, x, y, z, SOUTH);
boolean flag3 = pane.canPaneConnectTo(world, x, y, z, NORTH);
IIcon sideTexture = pane.getSideTextureIndex();
if (!flag && !flag1 && !flag2 && !flag3)
{
renderer.setRenderBounds(0D, 0D, 0.45D, 1D, 1D, 0.55D);
renderer.renderStandardBlock(block, x, y, z);