I've been wondering this for a while 'cause I need a lot of XP. Probably nether quartz, but a good mob farm would work. Hopefully guardians if you have them. Other than that, killing the ender dragon gets like 60 levels.
Villagers is another really good one if you can get a cheap trade of minerals that's easy to get, like fletchers for sticks, or masons for stone.