XP bar visible above hotbar.
An example of the excessive amount of experience orbs dropped upon death in 1.8, causing extreme performance drops.
Experience can be obtained by gathering Experience Orbs from defeated mobs and players. Experience is used for Enchanting.
Behavior
Gathering experience points increases the player's experience level by gradually filling a bar on the bottom of the screen until a new level is achieved when the bar is full. When the player dies, they drop half of their experience as orbs, rounded down to the nearest point. The other half vanishes. If the player dies from fall damage, no experience orbs will be dropped.
Experience Orbs will not drop from a mob unless the mob is killed by a player or damaged by the player and then can be killed by other means; therefore ordinary mob grinders cannot be used for farming experience (although grinders can be designed to funnel monsters to a holding location, and wear them down to one-hit kills). Experience orbs will "float" or glide toward the player if they are 2-3 blocks away.
Mobs will drop a random number of orbs, and the orbs can have different values. However, the total value will always remain within these values, regardless of difficulty setting:
| Mob | Experience |
|---|---|
| Passive [note A 1] | 1 - 3 |
| Baby Animals | 0 |
| Villager | 0 |
| Wolf | 1 - 3 |
| Hostile [note A 2] | 5 |
| Snow Golem | 0 |
| Big Slime [note A 3] | 4 |
| Small Slime [note A 3] | 2 |
| Tiny Slime [note A 3] | 1 |
| Blaze | 10 |
| Ender Dragon | 20,000 |
- ↑ Excludes NPC Villagers and baby animals, includes Ocelots and Cats.
- ↑ Includes Zombie Pigmen and Endermen. Does not include Blaze, Slimes or Magma Cubes.
- ↑ a b c This also applies to Magma Cubes of the same size. Experience is dropped per slime/cube death. Further, smaller slimes/cubes will also drop experience.
Leveling Up
| Level | XP required [note B 1] |
XP diff [note B 2] |
Bar Section [note B 3] |
|---|---|---|---|
| 0 | 0 | 0 | 0.39 |
| 1 | 7 | 7 | 0.56 |
| 2 | 17 | 10 | 0.78 |
| 3 | 31 | 14 | 0.94 |
| 4 | 48 | 17 | 1.17 |
| 5 | 69 | 21 | 1.33 |
| 6 | 93 | 24 | 1.56 |
| 7 | 121 | 28 | 1.72 |
| 8 | 152 | 31 | 1.94 |
| 9 | 187 | 35 | 2.11 |
| 10 | 225 | 38 | 2.33 |
| 11 | 267 | 42 | 2.50 |
| 12 | 312 | 45 | 2.72 |
| 13 | 361 | 49 | 2.89 |
| 14 | 413 | 52 | 3.11 |
| 15 | 469 | 56 | 3.28 |
| 16 | 528 | 59 | 3.50 |
| 17 | 591 | 63 | 3.67 |
| 18 | 657 | 66 | 3.89 |
| 19 | 727 | 70 | 4.06 |
| 20 | 800 | 73 | 4.28 |
| 21 | 877 | 77 | 4.44 |
| 22 | 957 | 80 | 4.67 |
| 23 | 1041 | 84 | 4.83 |
| 24 | 1128 | 87 | 5.06 |
| 25 | 1219 | 91 | 5.22 |
| 26 | 1313 | 94 | 5.44 |
| 27 | 1411 | 98 | 5.61 |
| 28 | 1512 | 101 | 5.83 |
| 29 | 1617 | 105 | 6.00 |
| 30 | 1725 | 108 | 6.22 |
| 31 | 1837 | 112 | 6.39 |
| 32 | 1952 | 115 | 6.61 |
| 33 | 2071 | 119 | 6.78 |
| 34 | 2193 | 122 | 7.00 |
| 35 | 2319 | 126 | 7.17 |
| 36 | 2448 | 129 | 7.39 |
| 37 | 2581 | 133 | 7.56 |
| 38 | 2717 | 136 | 7.78 |
| 39 | 2857 | 140 | 7.94 |
| 40 | 3000 | 143 | 8.17 |
| 41 | 3147 | 147 | 8.33 |
| 42 | 3297 | 150 | 8.56 |
| 43 | 3451 | 154 | 8.72 |
| 44 | 3608 | 157 | 8.94 |
| 45 | 3769 | 161 | 9.11 |
| 46 | 3933 | 164 | 9.33 |
| 47 | 4101 | 168 | 9.50 |
| 48 | 4272 | 171 | 9.72 |
| 49 | 4447 | 175 | 9.89 |
| 50 | 4625 | 178 | 10.11 |
Trivia
- Experience orbs will drop from a mob if it dies within 3 seconds being hit by a player. This means you can use fall damage by knocking mobs off a cliff.
- To reach level 50, which is the amount of skill points required to purchase the highest type of enchantment, one would need to gather 4625 experience by defeating 925 hostile mobs.
- Experience orbs used to despawn if a player slept before collecting them. This meant that if you died at night and slept before collecting your items, the orbs would disappear when you woke up. This has been fixed; if you sleep after you died, your experience will still be there.
- Using enchantments does not decrease your score (which is shown on death).
- In the resources folder of Minecraft, there appears to be a unused sound of leveling up. It cannot be heard in gameplay.
- If you gain too many experience points (such as a trillion through server commands), the experience bar will disappear altogether as well as your level on your HUD.
- As of weekly snapshot 12w04a the Bottle o' Enchanting was added but is likely worthless since you don't need any experience when enchanting in creative mode in the snapshot 12w05a.
- One can determine how much experience has been collected to reach a level using the equation:
- Total Experience = 1.75[Level]2 + 5.00[Level]
- This equation does not include any experience that is currently filling the experience bar.
- Additionally, the amount of experience required to advance to the next level can be calculated using the equation:
- Experience Required = 3.5[Current Level] + 6.7
- (NOTE: When performing these calculations, answers should be rounded to the nearest integer, using the "Round Half Away From Zero" rules.)[1]
Bugs
- Experience is not always rewarded after killing an animal/mob/player, this may be due to effects such as "Fire Aspect" for swords which do additional damage and that damage may not be attributed to you. Animals/mobs should give experience 100% of the time if you use a standard sword and the killing blow is yours.
- When bringing a single player map into a server to, for example, show friends what you made, Your experience for your single player will be reset upon bringing the save back into single player.
Upcoming Features
Each level up will potentially reward the player with Skill Points,[2] which Notch has said may be used for buying things such as increased jump height and increased maximum health.[3]
History
- Experience was originally revealed by Jeb during an interview.[4] Jeb released a picture of the 1.8 GUI list, which shows the experience bar, among other things.
- Experience was added in Beta 1.8 but there was no measurable benefit to gaining Experience Orbs and levels.
- The ability to spend experience levels for Enchanting items was added in 1.0. Experience requirements were also changed in this update.
References
| Help | |||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Menu screens |
| ||||||||||||||||||
| Game customization | |||||||||||||||||||
| Editions |
| ||||||||||||||||||
| Miscellaneous | |||||||||||||||||||