![]() |
VOOZH | about |
| Health points | 5HPπ β€οΈ π β€οΈ π π [1] |
|---|---|
| Hitbox size | In Java Edition: Height: 0.5 blocks |
{
"extratext": "View [[#Gallery|all renders]]",
"title": "Experience Orb",
"images": [
"Experience Orb Value 3-6.png"
],
"rows": [
{
"field": "5<span class=\"hidden-alt-text\">HP</span><span class=\"nowrap mc-hearts\"><span class=\"iconbar pixel-image nowrap\" style=\"--icon-offset:-1px;\" title=\"2.5 hearts\">(link to File:Heart (icon).png article, displayed as 9px|link=|alt=β€οΈ)(link to File:Heart (icon).png article, displayed as 9px|link=|alt=β€οΈ)(link to File:Half Heart (icon).png article, displayed as 9px|link=|alt=π)</span></span>",
"label": "(link to Health article, displayed as Health points)"
},
{
"field": "'''In (link to Java Edition article, displayed as ''Java Edition''):'''<br>\nHeight: 0.5 blocks<br>Width: 0.5 blocks<br>\n'''In (link to Bedrock Edition article, displayed as ''Bedrock Edition''):'''<br>\nHeight: 0.25 blocks<br>Width: 0.25 blocks<br>",
"label": "(link to Hitbox article, displayed as Hitbox size)"
}
],
"invimages": []
}
Experience (EXP or XP for short) can be gained from defeating mobs or performing many kinds of other actions. Experience has no direct effect on the player character, but it can be used to enhance their equipment through enchanting, or by using an anvil to repair, rename, or combine enchantments on equipment. Most sources of experience are produced in the form of experience orbs. In Java Edition, experience gained affects the player's score on the death screen.
Experience orbs also recover durability on items with Mending that are being worn or are in-hand.
Experience can be gained from several different sources. Most sources drop experience in the form of orbs, which can be claimed by any player, while a few methods directly award the player experience upon completing the action.
/experience command.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 experience orbs worth 7 * current level experience points, up to a maximum of 100 points (enough to reach approximately 7.5 levels), and all of the other experience vanishes. If the gamerule keepInventory is set to true, the experience is kept even if the player dies.
Most experience sources drop experience in the form of experience orbs, which can then be claimed by any player.
Experience orbs fade between green and yellow colors and float or glide toward the player up to a distance of 7.25 blocks (calculated from the center of player's feet and the center of the experience orb), speeding up as they get nearer to the player. Experience orbs pulled toward a player are slowed by cobwebs. Experience orbs can also be pulled around or away from the player by running water currents.
When collected, experience orbs make a bell-like sound for a split second. Unlike items, experience points are picked up gradually: no matter how many orbs are in the range of the player, they are added to the player's experience one at a time (10 orbs/second). In extreme cases, this can result in the player being followed by a swarm of orbs for many seconds. If an experience orb isn't collected within 5 minutes of its appearance, it despawns.
Experience orbs vary in value. The general worth of an orb is reflected by its size, with eleven possible sizes corresponding to specific values. The three smallest sizes are the most commonly encountered, as the majority of experience dropped by mobs and blocks is less than ten. Dense experience orbs with values 17 or higher have orange "eyes" or "cores", and are less frequently encountered, most commonly from defeating the ender dragon, wither and other players, disenchanting objects on a grindstone, breaking spawners, and collecting items from high-traffic furnaces. For performance improvement, experience orbs of the same value can merge into a single entity, but they do not create a higher value orb.
| Orb | Minimum value | Maximum value |
|---|---|---|
| 1*[2] | 2 | |
| 3 | 6 | |
| 7 | 16 | |
| 17 | 36 | |
| 37 | 72 | |
| 73 | 148 | |
| 149 | 306 | |
| 307 | 616 | |
| 617 | 1236 | |
| 1237 | 2476 | |
| 2477 | 32767 |
Naturally spawned orbs always have an integer value of 1β11, 17, 37, 73, 149, 307, 617, 1237, or 2477. Fishing, breeding, and trading drop a single orb with a random value in the appropriate range. Breaking blocks, killing mobs and players, smelting items, and bottles o' enchanting calculate their total experience amount and then split it into the base values of orbs by size (1, 3, 7, 17, 37, 73, 149, 307, 617, 1237, and 2477).
Higher values are chosen first, so, for example, a total value of 1000 would be dropped as orbs with values 617, 307, 73, and 3. While the first ender dragon in a world drops 12,000 experience, it is dropped in 10 waves of 1000 and one of 2000, so no orbs of value 2477 are dropped. Such orbs can exist in the world via furnaces that have had a lot of traffic.
Like items, experience orbs float when on water. Experience orbs can be destroyed by fire, lava, explosions, and cacti, and can trigger pressure plates and tripwires.
In Bedrock Edition, although mob drops spawn the instant the final blow is dealt to the mob, experience orbs do not appear until the mob entity disappears and the smoke appears. In Java Edition, experience orbs appear in the same spatial and temporal location as loot when an entity is killed.
Orbs with negative values can be created using the /summon command, either using values below 0 or above 32767 due to 16-bit integer overflow. They use the smallest texture of experience orb.
Negative orbs behave differently from positive orbs, namely that they do not deduct experience when collected by the player.
They deduct durability from a tool enchanted with Mending, provided the tool is already damaged prior to collection of the orbs.[3]
The following mobs and similar entities do not drop experience when killed:
| Level | Experience | |
|---|---|---|
| Total | Diff. | |
| 1 | 7 | 7 |
| 2 | 16 | 9 |
| 3 | 27 | 11 |
| 4 | 40 | 13 |
| 5 | 55 | 15 |
| 6 | 72 | 17 |
| 7 | 91 | 19 |
| 8 | 112 | 21 |
| 9 | 135 | 23 |
| 10 | 160 | 25 |
| 11 | 187 | 27 |
| 12 | 216 | 29 |
| 13 | 247 | 31 |
| 14 | 280 | 33 |
| 15 | 315 | 35 |
| 16 | 352 | 37 |
| 17 | 394 | 42 |
| 18 | 441 | 47 |
| 19 | 493 | 52 |
| 20 | 550 | 57 |
| 21 | 612 | 62 |
| 22 | 679 | 67 |
| 23 | 751 | 72 |
| 24 | 828 | 77 |
| 25 | 910 | 82 |
| 26 | 997 | 87 |
| 27 | 1089 | 92 |
| 28 | 1186 | 97 |
| 29 | 1288 | 102 |
| 30 | 1395 | 107 |
| 31 | 1507 | 112 |
| 32 | 1628 | 121 |
| 33 | 1758 | 130 |
| 34 | 1897 | 139 |
| 35 | 2045 | 148 |
| 36 | 2202 | 157 |
| 37 | 2368 | 166 |
| 38 | 2543 | 175 |
| 39 | 2727 | 184 |
| 40 | 2920 | 193 |
| 41 | 3122 | 202 |
| 42 | 3333 | 211 |
| 43 | 3553 | 220 |
| 44 | 3782 | 229 |
| 45 | 4020 | 238 |
| 46 | 4267 | 247 |
| 47 | 4523 | 256 |
| 48 | 4788 | 265 |
| 49 | 5062 | 274 |
| 50 | 5345 | 283 |
| 51 | 5637 | 292 |
| 52 | 5938 | 301 |
| 53 | 6248 | 310 |
| 54 | 6567 | 319 |
| 55 | 6895 | 328 |
| 56 | 7232 | 337 |
| 57 | 7578 | 346 |
| 58 | 7933 | 355 |
| 59 | 8297 | 364 |
| 60 | 8670 | 373 |
| 61 | 9052 | 382 |
| 62 | 9443 | 391 |
| 63 | 9843 | 400 |
| 64 | 10252 | 409 |
| 65 | 10670 | 418 |
The formulas for figuring out how many experience orbs needed to get to the next level are as follows:
One can determine how much experience has been collected to reach a level using the equations:
Likewise, to get the number of levels from the total experience value, one can utilize the following inverse equations:
/summon command and all slimes that split from it yield 448 to 8128 experience, with an average of 3025.The score is the number of experience the player has collected since their last death. This number is the total experience the player has collected, rather than the amount of experience they had upon death. When the player dies, the score is displayed on the death screen.
Java Edition:
Experience orbs do not use entity-dependent sound events.
| Sounds | ||||||||
|---|---|---|---|---|---|---|---|---|
| Sound | Closed captions | Source | Description | Identifier | Translation key | Volume | Pitch | Attenuation distance |
| βExperience gained | Players | When a player collects an experience orb | entity.experience_orb.pickup | subtitles.entity.experience_orb.pickupβ | 0.1 | 0.55β1.25 | 16 | |
| βPlayer dings | Players | When a player levels up to a multiple of 5 [sound 1] | entity.player.levelup | subtitles.entity.player.levelupβ | 0.75 [sound 2] | 1.0 | 16 | |
| Sounds | |||||||
|---|---|---|---|---|---|---|---|
| Sound | Closed captions | Source | Description | Identifier | Translation key | Volume | Pitch |
| β ? | Players | When a player collects an experience orb | random.orb | β ? | [check the code] | 0.55β1.25 [check the code] | |
| β ? | Players | When a player reaches a level multiple of 5 | random.levelup | β ? | 1.0 | 1.0 | |
| Name | Identifier | Translation key |
|---|---|---|
| π EntitySprite experience-orb.png: Sprite image for experience-orb in Minecraft Experience Orb | experience_orb |
entity.minecraft.experience_orb |
| Name | Identifier | Numeric ID | Translation key |
|---|---|---|---|
| π EntitySprite experience-orb.png: Sprite image for experience-orb in Minecraft Experience Orb | xp_orb | 69 |
entity.xp_orb.name |
Experience orbs have entity data associated with them that contain various properties.
| February 17, 2010 | XP levels are mentioned by Notch. | ||||||
|---|---|---|---|---|---|---|---|
| June 11, 2011 | In an image of the new lighting system, a small spherical shape can be seen on the left side of the screen. The orb was yellow due to a warm light from a torch. | ||||||
| June 12, 2011 | Notch claimed the previous image had an error and posted a new one, this time, without a yellow sphere. | ||||||
| June 14, 2011 | In a later tweet, Notch showed a picture of a Beta 1.7 change-list. Although it was completely blurred out and was, at first, thought of as a joke,[7] Notch later stated that one of the pictures with the new lighting system and the change list had a secret in them. | ||||||
| One place that people discussed it was on the Minecraft Forums, where it was discovered that the tabs at the top of the change list that were partly covered, could be decoded based on the two-pixel tall pattern available in the image.[8] | |||||||
After a user named "tmcaffeine" successfully decoded it, the tabs read: ExperienceOrb.java, changelist.txt, Level.java, Tile.java, HugeMushroomTile.java, HugeMushroomFeature.java, and RandomLevelSource(cut).[9] | |||||||
| September 6, 2011 | The experience bar was displayed as "Skill points" in the Beta 1.8 development trailer. | ||||||
| Java Edition Classic | |||||||
|---|---|---|---|---|---|---|---|
| 0.24_SURVIVAL_TEST | A precursor to the experience system was the point system added in this version. | ||||||
| Java Edition Beta | |||||||
| 1.8 | Pre-release | Experience was originally revealed by Jeb during an interview with Minecraft Forum.[10] Jeb released a picture of the 1.8 GUI list, which shows the experience bar, among other things. | |||||
| π Image [verify] Added experience. It can currently only be obtained from killing mobs and has no use. | |||||||
| Picking up experience orbs plays the same sound as picking up items, although in singleplayer it is played at a lower pitch. | |||||||
| Experience levels are hidden from the HUD in singleplayer creative mode, but are still shown in multiplayer. | |||||||
| Pre-release 2 ;) | π Image Experience orbs no longer render as translucent.[11] | ||||||
| Java Edition | |||||||
| 1.0.0 | Beta 1.9 Prerelease | For this version only, as a test, experience is gained when the player is jumping. However, experience still does not do anything. | |||||
| The amount of experience orbs dropped by a player on death is now limited. | |||||||
| Beta 1.9 Prerelease 2 | Removed the ability of gaining experience when jumping. | ||||||
| The score the player gains now appears correctly on "Game over!" screen. Each experience orb is worth one Score Point. | |||||||
| Beta 1.9 Prerelease 4 | The ability to spend experience levels for enchanting items has been added. | ||||||
| The experience level number is now shown, and each level is harder to get to than the previous one. | |||||||
| Beta 1.9 Prerelease 5 | Added the /xp command. | ||||||
| RC1 | Experience orbs now make a twinkling sound when collected in singleplayer. In multiplayer, they continue to use the item pickup sound. | ||||||
| 1.2.1 | 12w04a | Added bottles o' enchanting, an item that the player can gain experience from. | |||||
| 12w05a | The need for experience when enchanting in creative mode has been removed. Due to this, bottles o' enchanting are now useful only in adventure maps. | ||||||
| Experience requirements have been changed, in this update. | |||||||
| Experience orbs now make the correct twinkling sound when picked up in multiplayer, however it is played at a higher pitch. | |||||||
| 1.3.1 | 12w18a | As a result of singleplayer being changed to an internal server, the player's experience level is now shown in singleplayer creative mode. | |||||
| The pitch of the experience orb pickup sound in multiplayer has been lowered to match the singleplayer pitch. | |||||||
| 12w22a | Players can now get experience from mining, breaking mob spawners and smelting in a furnace. A very large amount of experience can be collected while mining, sometimes into the hundreds of levels. | ||||||
| Coal, lapis lazuli, redstone, diamond and emerald ore now give players experience points. | |||||||
| Iron and gold ore now instead give experience when they are smelted. | |||||||
| Breeding also gives experience. | |||||||
| The cost to gain each level has been made constant, at 17 experience points per level. | |||||||
| Only level 30 is required to get the maximum level of enchanting. | |||||||
| 12w23a | XP levels now cost 17 experience orbs each until level 16, after which the cost per level grows linearly, and the total XP grows quadratically (incorrectly stated "exponentially" by Mojang Studios). However, it is easier to get to 30 levels than it was before 12w22a. | ||||||
| 1.4.2 | 12w37a | Fishing now gives experience. | |||||
| 12w38a | Leveling up now makes a twinkly bell sound, similar to, but longer than the experience orb sound. | ||||||
| 12w39a | Experience levels can now be used in commands by typing, for example, @a[lm=4,l=7], choosing everyone between 4 and 7 levels inclusive. This is normally used in a command block. | ||||||
| 12w41a | Added anvils, which allows for the repairing and combining of items, at the cost of experience levels. | ||||||
| The level-up sound from collecting experience now plays every 5 levels. | |||||||
| 1.6.1 | 13w21a | Experience levels no longer appear in creative mode. Previously, experience would be hidden, but experience levels would show. | |||||
| 13w24a | The level-up sound is shortened from to . | ||||||
| 1.8 | 14w02a | The changes to the enchanting system mean that leveling up now requires more experience. | |||||
| Trading now gives experience. | |||||||
| π Image The texture of experience orbs has been changed. | |||||||
| 1.9 | 15w46a | Experience is now collected at the feet, meaning that if a large amount of experience is collected, it no longer blocks the player's view.[12] | |||||
| 1.12 | pre3 | The "How Did We Get Here?" advancement is the first one to give experience as a reward, when player completes it. | |||||
| pre7 | Ten other advancements also give experience as a reward. | ||||||
| 1.13 | 18w19a | Experience orbs now float up in water.[13] | |||||
| 1.14 | 18w48a | Grindstone now removes enchantments from items and produces experience from that. | |||||
| 1.15 | ? | Glowing now works on experience orbs.[14] | |||||
| 19w39a | Experience orbs now appear translucent again. | ||||||
| 19w41a | Experience orbs no longer appear translucent. | ||||||
| 19w46a | Experience orbs now appear immediately when a mob is killed (similar to loot), instead of when its corpse disappears. | ||||||
| π Image The rendering of experience orbs has been changed. They have become translucent again. | |||||||
| 1.17 | 20w45a | Experience orbs now sometimes merge when in large quantities. | |||||
| Experience orbs no longer follow dead players. | |||||||
| 1.21.4 | 24w45a | Experience orbs are now bouncy when falling from a height.[15] | |||||
| 1.21.9 | 25w31a | Glowing once again no longer works on experience orbs.[16] | |||||
| Pocket Edition Alpha | |||||||
|---|---|---|---|---|---|---|---|
| v0.12.1 | build 1 | π Image Added experience. | |||||
| build 8 | Experience orbs now burn in fire or lava. | ||||||
| Bedrock Edition | |||||||
| 1.14.0 | beta 1.14.0.1 | The amount of experience dropped by animals now matches Java Edition. | |||||
| 1.16.100 | beta 1.16.100.51 | Experience orbs now float up in water.[17] | |||||
| Legacy Console Edition | |||||||
|---|---|---|---|---|---|---|---|
| Xbox 360 | Xbox One | PS3 | PS4 | PS Vita | Wii U | Switch | |
| TU7 | CU1 | 1.00 | 1.00 | 1.00 | Patch 1 | 1.0.1 | π Image Added experience. |
| Experience is collectable from smelting and/or mining ores, breeding and killing mobs. | |||||||
| TU14 | 1.04 | Added anvils, which allows for the repairing and combining of items, at the cost of experience levels. | |||||
| TU19 | CU7 | 1.12 | 1.12 | 1.12 | Experience levels no longer appear in creative mode. Previously, experience would be hidden, but experience levels would show. | ||
| New Nintendo 3DS Edition | |||||||
|---|---|---|---|---|---|---|---|
| 0.1.0 | π Image Added experience. | ||||||
| 1.1.06 | Experience is now collectable from smelting and/or mining ores, as well as trading. | ||||||
| Java Edition | |||||||
|---|---|---|---|---|---|---|---|
| 1.11 | 16w32a | The entity ID of experience orbs has been changed from XPOrb to xp_orb | |||||
| 1.13 | 17w47a | Numeric IDs for entities were presumably deprecated in this version.β[more information needed] | |||||
| pre5 | The experience orb ID has been changed to experience_orb. | ||||||
| Pocket Edition | |||||||
| 1.1.0 | alpha 1.1.0.0 | The entity ID of experience orbs has been changed from xporb to xp_orb. | |||||
The experience level costs were heavily revised in snapshot 12w22a and 12w23a, and again in version 1.8. Before these, reaching level 50 (the maximum usable on a single enchantment) required 4625 experience, corresponding to defeating 925 hostile mobs (assuming the "common" ones.) Afterward, considerably less experience is needed to get into higher levels. Higher levels cost more experience than lower ones, but the levels are still easier to get than in 1.2.5. Now, level 30 is the maximum for enchantments, and that cost is equivalent of 279 "common" enemies, less than 1/3 the old price.
A player dropping excessive experience orbs upon death may cause performance degradation in the game.
Issues relating to "Experience" or "Orb" are maintained on the bug tracker. Issues should be reported and viewed there.
/xp command is 2,147,483,647 levels or 231β1, the largest value representable by a 32-bit signed integer.