code: public static boolean isCorner(IBlockAccess world, BlockPos pos)
  	{
  		return world != null && pos != null ? isCorner(world.getBlockState(pos)) : false;
  	}
docs: Gets whether the wall is a corner or not.
  
  @param world the world
  @param pos the pos
  @return the EnumFacing, null if the block is not {@link DirectionalComponent}