}
public static boolean paneConnectsTo(IBlockAccess world, int x, int y, int z, ForgeDirection dir) {
Block block = world.getBlock(x, y, z);
return block.func_149730_j() ||
block.getMaterial() == Material.glass ||
block instanceof BlockPane ||
world.isSideSolid(x, y, z, dir.getOpposite(), false);
}
// }