code: public static EnumFacing getDirection(IBlockAccess world, BlockPos pos)
  	{
  		return world != null && pos != null ? getDirection(world.getBlockState(pos)) : EnumFacing.SOUTH;
  	}
docs: Gets the {@link EnumFacing direction} for the {@link Block} at world coords.
  
  @param world the world
  @param pos the pos
  @return the EnumFacing, null if the block is not {@link DirectionalComponent}