Minecraft wiki entry for Measuring_distance, associated text: Your vector to the geode is 184 blocks facing the direction -136.2, or 223.8°. To find the coordinate components of this vector, multiply the distance times the sine of the direction for the ∆X, adding that to your X position, and multiply the distance times the cosine of the direction for the ∆Z, adding that to your Z position. The geode's ∆X is 184.08 ∙ sin (223.8) = 184.08 ∙ -0.692 = -127.41. Subtract this from your X, so -743.349 - (-127.41) = 615.93. The ∆Z is 184.08 ∙ cos (223.8) = 184.08 ∙ -0.723 = -132.86. Add this to your Z, 540.144 + (-132.86) = 540.144 - 132.86 = 407.28.