runelite-api/src/main/java/net/runelite/api/coords/WorldArea.java
/**
	 * Calculates the next area that will be occupied if this area
	 * attempts to move toward it by using the normal NPC travelling
	 * pattern.
	 *
	 * @param client The client to calculate with
	 * @param target The target area
	 * @param stopAtMeleeDistance Determine if it should stop at melee distance to the target
	 * @return Returns the next occupied area
	 */
Calculates the next area that will be occupied if this area
attempts to move toward it by using the normal NPC travelling
pattern.

@param client The client to calculate with
@param target The target area
@param stopAtMeleeDistance Determine if it should stop at melee distance to the target
@return Returns the next occupied area
Calculates the next area that will be occupied if this area attempts to move toward it by using the normal NPC travelling pattern . @param client The client to calculate with @param target The target area @param stopAtMeleeDistance Determine if it should stop at melee distance to the target @return Returns the next occupied area
public WorldArea calculateNextTravellingPoint(Client client, WorldArea target,
		boolean stopAtMeleeDistance)
	{
		return calculateNextTravellingPoint(client, target, stopAtMeleeDistance, x -> true);
	}
public WorldArea calculateNextTravellingPoint ( Client client , WorldArea target , boolean stopAtMeleeDistance ) { return calculateNextTravellingPoint ( client , target , stopAtMeleeDistance , x -> true ) ; }
Calculates the next area that will be occupied if this area
 attempts to move toward it by using the normal NPC travelling
 pattern.
Calculates the next area that will be occupied if this area attempts to move toward it by using the normal NPC travelling pattern .