Bill Bradley, who understands the winning recipe as much as any former Knick, is not sure whether Carmelo Anthony has learned what LeBron James already knows — what it takes to be on an NBA championship team.

Known as “Dollar Bill’’ before he became a New Jersey senator, Bradley was a key piece of the Knicks’ only two title teams — the last of which will be celebrated Friday with a 40th anniversary ceremony at the Garden.

Bradley and all the surviving members of the 1972-73 club, even Phil Jackson, will be on hand.

“It was the most enjoyable year in basketball I ever played in my life,’’ Bradley told The Post yesterday on the eve of the Knicks’ final regular-season matchup against the defending champion Heat. “The team had meshed, totally unselfish. Everyone backed up each other. There was great off-court chemistry. Everything worked. The fact the Garden is going to celebrate that — it’s not Willis Reed in the seventh game [of the 1970 Finals], but we did win a championship.’’

The Knicks’ quest to end the subsequent 40-year title drought likely runs through LeBron and Miami. King James has a great chance for his second title if Anthony’s Knicks don’t prove worthy this spring.

“Miami won last year because they played as a team,’’ Bradley said. “They were unselfish. There’s a connection there. I really do believe LeBron, [Dwyane] Wade and [Chris] Bosh and [Shane] Battier, they really want to be champions more than they want individual achievements. They realize being a champion is the highest individual achievement.’’

Has Anthony learned that yet?

“He’s a great offensive talent, no question,’’ Bradley said. “I don’t know him enough. I don’t know if he has. I hope so. And he might already know it.

“For him and for all the players, I hope they win a championship,’’ Bradley added. “There’s nothing like that experience in New York. At the end of the day, no one player ever thought he was as good as all five of us working together. And that was true of Phil Jackson’s Bulls and Lakers and of Miami.