Minecraft wiki entry for Experience, associated text: Experience (EXP or XP for short) can be obtained by gathering experience orbs from mining, defeating mobs, breeding, trading, fishing, completing advancements,‌[Java Edition only] and using grindstones and furnaces. Experience gained during a player's life affects the player's score on the death screen. While having no direct effect on the player character, it can be used to enhance their equipment through enchanting, or by using an anvil to repair, rename, or combine enchantments on equipment. Experience also recovers durability on items with Mending that are being worn, or are in-hand.