getOptimalMovementLine

When using scaffold the player wants to follow the line and the scaffold should support them in doing so. This function estimates the line the player is trying to move on while preserving the player's offset on the current support block until placed block history can provide a stable line.