Experience

Experience (AKA XP) is a game-mechanic that adds an experience bar to the game. Experience is obatined in the form of Experience Points, which convert into Experience Levels when enough have been collected.

Obtaining
Experience can be obtained by gathering Experience Orbs from mining, killing mobs and players, breeding, fishing, and using furnaces. It can also be obtained by smashing Bottles o' Enchanting.

Use
Experience is mainly used in the process of Enchanting, which makes tools, weapons and items betetr. In addition, it can be used at Anvils to rename and repair items.

Trivia

 * The highest amount of experience a player can get is 2^31 which is 2,147,483,647