get Direction
fun getDirection(X0: Double, Y0: Double, Z0: Double, X1: Double, Y1: Double, Z1: Double): DoubleArray
Returns array(distance, yaw, pitch) in minecraft coordinate system to get from x0y0z0 to x1y1z1.
Returns array(distance, yaw, pitch) in minecraft coordinate system to get from vec0 to vec1.
Returns array(distance, yaw, pitch) in minecraft coordinate system to get from the Player feet to the given vec. offset can be used to offset the target height.
Returns array(distance, yaw, pitch) in minecraft coordinate system to get from the Player to the given entity at the same height. offset can be used to offset the target height.