path To
Requests that the entity be moved towards the given x, y, and z coordinates.
This may happen immediately, if the current target is the same as or very close to the coordinates. It may also take a while to reach the target, if it is far away.
Parameters
x
the X coordinate to move to
y
the Y coordinate to move to
z
the Z coordinate to move to
Requests that the entity be moved towards the given position.
This may happen immediately, if the current target is the same as or very close to the position. It may also take a while to reach the target, if it is far away.
Parameters
position
the position to move to