Minecraft wiki entry for Player, associated text: Experience points (XP) can be gained via experience orbs when killing mobs or mining certain minerals. The current level is indicated by a green number above the HUD, and the experience points can be used to enchant weapons, tools or armor with different useful attributes and skills (see enchanting table.) Anvils require experience to use.