Making a Test comeback after more than two years, Maxwell hit a career-best 104 and put on 191 runs with skipper Steve Smith (178) to take Australia to 451.
"It's been a long time between drinks since 2014, my last Test. I didn't want to waste the opportunity, didn't want to make it my last Test that's for sure," Maxwell said after day two's proceedings of the third cricket Test.
"I know how bad it felt when I played that last game in Dubai and didn't play again and I know how bad that felt. I just wanted to make it count, every opportunity I get.
"To get back in the side in the first place was something I really held close to my heart. I was so happy to be able to walk back on the field with the Australian Test team with the Baggy Green cap on and I was just filled with joy when I got told I had the opportunity to do that again."
More From This Section
Maxwell has now become the 13th player to score centuries in all three formats of the game.
"I thought about it all night. I went through about 300 to 400 different scenarios that could've happened the next day, most of them weren't good. Even thinking about it now I've got a frog in my throat.
"It's as special a moment as I've had in my career and hopefully it's not the last. So much emotion fell out of me as soon as I got that hundred."
(REOPENS DEL 62)
Showering praise on Smith, Maxwell hoped to take inspiration from his skipper, who started as a leg-spin all-rounder and now has 19 Test tons in 53rd matches.
"He probably lifts the team to another level because he makes the game look so easy as well. We watch him play and everyone is in awe of the way he goes about it, he does it in such a different, unique way and he owns that.
"He doesn't care what people say about his technique. He knows he has his technique doubters. So he's a guy that people feed off. And he's a very inspirational leader with the way he's gone about his career.
"He obviously had his doubters, when he came into the team he was a leg-spinning all-rounder, batting at 8 or 9. So what a turnaround he has had.
"I know that is a long way off, but I would love to be able to follow in his footsteps and change my career from how I started," Maxwell said.
The key to holding on to his position would be to contribute with his off-spin as well.
"I'll try and keep both sides of my game as much as I can. The way Steve's game has gone and with the captaincy he's solely focused on being a batsman in the team.
Maxwell and Smith revived Australia after India took two quick wickets to reduce them to 140/4 in the first session of day one.
"Obviously yesterday I came in at a time when it was a bit of a tricky situation. I think we were 140/4, and luckily I had Steve at the other end, who is quite experienced.
He opined that the Indians bowled loose deliveries, which helped their cause.
"That was obviously the plan when we came out today. We were lucky, they bowled a few loose balls to start off the day. We were able to score freely at the start of the day."
"It was unfortunate when I did because we could have made it a 200-250 partnership that could have really driven the game a long way forward for us. In saying that we would've taken 450 at the start.