The New England Patriots had a bad experience with Bacardi, and now the team is complaining of a hangover.

The Patriots are suing Bacardi for breach of contract after the rum maker backed out of a deal that included plans for a 20,000-square-foot pavilion, to be called Casa Bacardi, on the grounds of Gillette Stadium.

In a complaint filed in Suffolk Superior Court this week, the team accused Bacardi of bad-faith negotiating and said it wasted time and money on what was supposed to be a 10-year, multimillion-dollar exclusive sponsorship agreement.

To boot, the Patriots said they probably won’t have time to secure another liquor sponsor before the season.

Bacardi has not yet submitted a response in court, but company spokeswoman Patricia M. Neal issued a brief statement, saying, “We firmly disagree with the claims in the complaint and will vigorously defend our company’s position.”

The Patriots declined to comment.

The two sides successfully signed a marketing agreement last July that included advertising at the stadium and on Patriots websites and broadcasts, along with tickets to home and away games during the 2013 season.

Last fall, the Patriots and Bacardi began negotiating a more extensive partnership, with the pavilion as the centerpiece. Drawings submitted to the Foxborough Planning Board show a freestanding, two-story structure with a 16,000-square-foot main level and a 4,000-square-foot mezzanine, complete with an industrial-size kitchen, three bars, and seating for 500 people.