Info > Pathfind

Pathfind

Pathfind will display the walking directions to a mob or character within
the area you are currently in. If you are not in the same area, just as
with track, you will not be able to find them.

Syntax: pathfind