Advanced Commands Tutorial: Relative Positions
Time for another advanced command block tutorial! This time, here’s how to calculate the offset of another entity or player in the world, in local (or relative) coordinates. This method is how my Boulder pet keeps track of its relative offset compared to its owner!