Minecraft wiki entry for Taxicab_distance, associated text: The taxicab distance is a simplified calculation that eliminates the square root and squaring operations by simply calculating the absolute value (positive value) of the difference between each coordinate value: