Experience (XP) comes as glowing green orbs. Collecting them fills the bar above your hotbar and raises your level, which you spend on enchanting and repairing.
How to Get Experience
- Kill mobs: most hostile mobs give 5 points, and bosses far more. The Ender Dragon gives 12,000 the first time.
- Mine coal, diamond, emerald, lapis lazuli, redstone, nether quartz and nether gold ore. Iron, gold and copper give their experience when you smelt them instead.
- Smelt and cook items, breed animals, trade with villagers and fish.
- Throw a Bottle o' Enchanting, which bursts into experience orbs. Cleric villagers sell them.
Levels
- Each level needs more experience than the last, so high levels take much longer to fill.
- Spending costs whole levels, so it is better to spend as soon as you reach 30 than to save far beyond it.
Spending Experience
- Enchant items at an Enchanting Table. See Enchanting.
- Repair, combine and rename items at an Anvil. See Repairing Items.
- Gear with Mending soaks up orbs to repair itself before they fill your bar.
Experience Farms
A mob spawner, or a dark room where hostile mobs spawn, with a long drop that leaves them on low health, lets you collect lots of experience safely. Mining nether quartz, smelting and trading are good steady sources too.
Tips
- A Grindstone gives back some experience when it removes enchantments.
- When you die you drop only part of your experience, so spend your levels before dangerous trips.