Jack Black spoke about teaming up with the legend that is Jack White, as he stopped by the “Jimmy Kimmel Live!” studios this week.

Black was discussing his latest tour with Tenacious D, when he revealed how the gigs led to him being invited to White’s famous studio.

RELATED: Jack Black And Jack White Team Up On Tenacious D Song ‘Don’t Blow It, Kage’

The actor, who has been busy promoting his latest film “Jumanji: The Next Level”, told Kimmel: “Tenacious D, you know that’s my pride and joy. That’s my baby.”

“[We] love to go on tour,” he added. “We got a rock opera, Post-Apocalypto, and we toured all around the world. We even stopped off in Nashville and we got a call from Jack White.”

“He was like, ‘Hey, if you’re comin’ through, why don’t you come by and record a lil somethin’ at my home studio.’ And we were like, ‘Yes, we can’t say no to that’ ’cause he’s a legend. He’s my idol. I love Jack White.”

RELATED: Jack Black Gives Chris Hemsworth’s Intense Workout

Black then said that he and bandmate Kyle Gass ended up recording a song about “how terrified we were to go rock for Jack White,” naming it “Don’t Blow It, Kage”.

The star said of White’s studio, “It’s like going to Graceland. Every room has been, like, meticulously curated with magic and humour and weirdness… literally every square inch of that place has a moment of magic.”