Which mobs give the most XP?

Which mobs give the most XP? Hostile mobs give more experience than passive ones. Baby animals, bats, golems, and villagers give no experience at all. The ender dragon gives orbs totaling 12,000 XP the first time a player kills it—12 times more than anything else in the game—and 500 XP in subsequent defeats.

Hostile mobs give more experience than passive ones. Baby animals, bats, golems, and villagers give no experience at all. The ender dragon gives orbs totaling 12,000 XP the first time a player kills it—12 times more than anything else in the game—and 500 XP in subsequent defeats.