Minecraft wiki entry for Player, associated text: The level increases by obtaining enough experience points. All levels and experience are lost upon death but can be partially restored by picking up the experience orbs at the place of death.[2]