trailPoint

public static Location trailPoint(PetControl control, Player owner, double back, double height)

Behind the owner: back blocks behind where they face, height above their feet when floating, at them otherwise.