Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Minecraft:Experience

From SAS Gaming Wiki
Revision as of 11:10, 12 April 2026 by SyncBot (talk | contribs) (Sync: new page from Minecraft)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Template:Redirect Template:Infobox entity

File:Hotbar with xp.png
The XP bar is beneath the health and hunger indicators Template:In, and Template:In only while using classic UI.

Experience (EXP or XP for short) can be gained from defeating Minecraft: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 Minecraft:enchanting, or by using an Minecraft:anvil to repair, rename, or combine enchantments on equipment. Most sources of experience are produced in the form of experience orbs. Template:IN, experience gained affects the player's score on the Minecraft:death screen.

Experience orbs also recover durability on items with Minecraft:Mending that are being worn or are in-hand.

Sources

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.

  • From killing most mobs, which drop experience orbs along with any other items. However, mobs will only drop experience points if they are killed by a player, and not, for example, falling off a cliff.
    • A mob does not drop experience orbs unless it dies within five seconds (100 game ticks) of an attack registered as a player hit (including tamed Minecraft:wolves, player thrown fireballs, and TNT). This allows gaining experience orbs from, say, knocking a monster off a cliff, lighting a mob on fire, etc. (fetching the orbs might be another question). The Minecraft:player can also try to "claim" a burning monster by hitting or shooting it once—even if the blow doesn't kill it, if the mob dies within 5 seconds, it drops experience orbs.
    • Mobs killed by Minecraft:TNT activated by a player using Minecraft:flint and steel or a flaming arrow drop XP as usual; however, mobs killed by TNT that was activated by fire, Minecraft:redstone, or an explosion that wasn't Minecraft:player activated does not drop any experience orbs.
    • Minecraft:Mobs drop a random number of experience orbs, which can have different values. However, the total value always remains within the values given below, regardless of Minecraft:difficulty setting.
    • Hostile mobs give more experience orbs than passive ones. Baby animals, Minecraft:bats, Minecraft:golems, and Minecraft:villagers give no experience orbs at all. The Minecraft:ender dragon gives experience orbs totaling 12,000 XP the first time a Minecraft:player kills it—12 times more than anything else in the game—and 500 XP in subsequent defeats.
      • Some hostile Minecraft:mobs spawn with weapons, or can spawn with weapons and/or Minecraft:armor. These mobs give an extra 1–3 points (randomly) per piece of equipment that they spawned with if the piece is not dropped. Equipment picked up after spawning doesn't count.
    • Minecraft:Mining a Minecraft:monster spawner block gives 15–43 points of experience orbs.
    • Mining a naturally-generated Minecraft:creaking heart drops 20–24 experience.
    • While they do not drop experience orbs normally, baby mobs as well as mobs killed by non-player means are accepted by the Minecraft:sculk catalyst, allowing for experience orbs to be obtained in a more indirect way.
  • From Minecraft:mining any ore that drops a resource, rather than raw metals or themselves. The experience orbs are produced along with the mineral item(s). If a Minecraft:Silk Touch pickaxe is used to mine the ore block, the experience is not dropped, but the block can later be placed and mined normally to release the mineral and the experience.
    • The ore still produces orbs if destroyed by an explosion, whether or not it was caused by player activated TNT.
  • From mining Minecraft:sculk, Minecraft:sculk sensors, Minecraft:sculk shriekers, and Minecraft:sculk catalysts. If a Minecraft:Silk Touch tool is used to mine it, the experience is not dropped, but it can later be placed and mined normally to release the experience.
  • From Minecraft:smelting any of various items.
    • Smelting any ore yields some experience, but normally only Minecraft:nether gold ore and Minecraft:ancient debris are worthwhile. For all other ores, mining them is better.
    • Moderate amounts are gained by smelting/cooking other materials: food, clay balls or blocks, Minecraft:cactus, wood logs, sand, or cobblestone, cactus giving the most.Template:Only
    • The smelted material must be taken from the furnace through its GUI window. If the player uses a hopper to unload the furnace, it is possible to retrieve all experience produced by the furnace by smelting an extra item and taking it from the GUI. Breaking the furnace drops all stored experience as collectable experience orbs.
  • From Minecraft:breeding animals.
    • Orbs are produced where the parents are, along with the baby animal. Breaking Minecraft:eggs does not give experience.
  • From Minecraft:fishing.
    • The experience is awarded directly upon reeling in the fish, even if the fish itself is not picked up.
  • From Minecraft:trading with villagers.
  • A Minecraft:bottle o' enchanting releases orbs when broken.
  • From the Template:Cmd command.
  • From disenchanting items in a Minecraft:grindstone.
  • From completing a challenge Minecraft:advancement.Template:Only

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.

Experience orbs

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 Minecraft: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.

Orb sizes

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 Minecraft:ender dragon, Minecraft:wither and other Minecraft:players, disenchanting objects on a Minecraft:grindstone, breaking Minecraft:spawners, and collecting items from high-traffic Minecraft: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
Template:Sprite 1*<ref>Any orb whose value is < 3 gets this orb, even if the experience value is negative. See the information below the table for more on negative value treatment.</ref> 2
Template:Sprite 3 6
Template:Sprite 7 16
Template:Sprite 17 36
Template:Sprite 37 72
Template:Sprite 73 148
Template:Sprite 149 306
Template:Sprite 307 616
Template:Sprite 617 1236
Template:Sprite 1237 2476
Template:Sprite 2477 32767

Dropping orbs

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 Minecraft: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.

Template:IN, although mob Minecraft: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. Template:IN, experience orbs appear in the same spatial and temporal location as loot when an Minecraft:entity is killed.

Negative orbs

Orbs with negative values can be created using the Template:Cmd 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 Minecraft:Mending, provided the tool is already damaged prior to collection of the orbs.<ref>Template:Ytl</ref>

Experience amounts by source

Source Experience
Killing Minecraft:mobs
Template:EntityLink 1Template:Only
Template:EntityLink
Template:EntityLink
Template:EntityLink
Template:EntityLink
Template:EntityLink
Template:EntityLink
Template:EntityLink
Template:EntityLink
Template:EntityLink
Template:EntityLink
Template:EntityLink
Template:EntityLink
Template:EntityLink
Template:EntityLink
Template:EntityLink
Template:EntityLink
Template:EntityLink
Template:EntityLink
Template:EntityLink
Template:EntityLink
Template:EntityLink
Template:EntityLink
Template:EntityLink
Template:EntityLink
Template:EntityLink
Template:EntityLink
Template:EntityLink
Template:EntityLink
Template:EntityLink
Template:EntityLink
Template:EntityLink
Template:EntityLink
Template:EntityLink
Template:EntityLink
Template:EntityLink
Template:EntityLink
Template:EntityLink
Template:EntityLink
Template:EntityLink
1–3
Template:EntityLink 3
Template:EntityLink
Template:EntityLink
4 (large)
2 (medium)
1 (small)
Template:EntityLink
Template:EntityLink
Template:EntityLink
Template:EntityLink
Template:EntityLink
Template:EntityLink
Template:EntityLink
Template:EntityLink
Template:EntityLink
Template:EntityLink
Template:EntityLink
Template:EntityLink
Template:EntityLink
Template:EntityLink
Template:EntityLink
Template:EntityLink
Template:EntityLink
Template:EntityLink
Template:EntityLink
Template:EntityLink
Template:EntityLink
Template:EntityLink
Template:EntityLink
Template:EntityLink
Template:EntityLink
Template:EntityLink
Template:EntityLink
Template:EntityLink
5 + 1–3 (per equipment)
Template:EntityLink
Template:EntityLink
Template:EntityLink (spawned as a jockeyTemplate:Only)
Template:EntityLink
Template:EntityLink
Template:EntityLink
10
Template:EntityLink
Template:EntityLink
Template:EntityLink
Template:EntityLink
Template:EntityLink
12 + 1–3 (per equipment)
Template:EntityLink
Template:EntityLink
20 + 1–3 (per equipment)
Template:EntityLink 20–24 (via destroying the creaking heart)
Template:EntityLink 50
Entity dying (no requirement for player involvement)
Template:EntityLink 7 per level, up to 100
Template:EntityLink 12,000 (500 if respawned with Minecraft:end crystals)
Mining blocks
Template:BlockLink 0–1
Template:BlockLink 0–2
Template:BlockLink 1
Template:BlockLink 1–5
Template:BlockLink
Template:BlockLink
2–5
Template:BlockLink
Template:BlockLink
3–7
Template:BlockLink
Template:BlockLink
Template:BlockLink
5
Template:BlockLink (naturally generated) 20–24
Template:BlockLink 15–43
Smelting/Cooking
Template:BlockLink 2
Template:BlockLinkTemplate:Only<ref>Template:Bug</ref>
Template:BlockLink
Template:BlockLink
Template:BlockLink
Template:BlockLink
Template:ItemLink
1
Template:BlockLink
Template:BlockLink
Template:ItemLink
Template:ItemLink
Template:BlockLink
0.7<ref group="note" name="fractional">For fractional values, first multiply this value by the number of smelted items removed from the furnace, then award the player the whole-number part, and if there is a fractional part remaining, this represents the chance of an additional experience point.
  • For example, when smelting 1 coal ore and removing the coal, the value is 0.1, so this grants a 10% chance of getting 1 experience point.
  • Or, when smelting 64 cobblestone and removing all 64 stone, the value is 0.1 * 64 = 6.4, so this grants 6 experience points, plus a 40% chance of getting 1 additional experience point.</ref>
Template:BlockLink
Template:ItemLink
Template:ItemLink
Template:ItemLink
Template:ItemLink
Template:ItemLink
Template:ItemLink
Template:ItemLink
Template:ItemLink
0.35<ref group="note" name="fractional" />
Template:ItemLink 0.3<ref group="note" name="fractional" />
Template:BlockLink
Template:BlockLink
Template:BlockLinkTemplate:Only
0.2<ref group="note" name="fractional" />
Template:BlockLink
Template:BlockLink
Template:BlockLink
0.15<ref group="note" name="fractional" />
Template:ItemLink
Template:ItemLink
Template:BlockLink
Template:BlockLink
Template:BlockLink
Template:BlockLink
Template:BlockLink
Template:BlockLink
Template:BlockLink
Template:BlockLink
Template:ItemLink
Template:ItemLink
Template:ItemLink
Template:ItemLink
Template:ItemLink
Template:ItemLink
Template:ItemLink
Template:ItemLink
Template:ItemLink
Template:ItemLink
Template:ItemLink
Template:ItemLink
Template:ItemLink
Template:ItemLink
Template:ItemLink
Template:ItemLink
Template:ItemLink
Template:ItemLink
Template:ItemLink
Template:ItemLink
Template:ItemLink
Template:ItemLink
Template:ItemLink
Template:ItemLink
Template:ItemLink
Template:BlockLink
0.1<ref group="note" name="fractional" />
Completing ChallengesTemplate:Only
Template:ItemSprite Blowback 40
Template:ItemSprite Return to Sender
Template:ItemSprite Great View From Up Here
Template:ItemSprite Sniper Duel
Template:BlockSprite Bullseye
Template:ItemSprite A Complete Catalogue
Template:ItemSprite Over-Overkill
Template:ItemSprite The Whole Pack
50
Template:ItemSprite Two Birds, One Arrow 65
Template:ItemSprite Arbalistic 85
Template:ItemSprite Subspace Bubble
Template:ItemSprite Uneasy Alliance
Template:ItemSprite Cover Me in Debris
Template:ItemSprite A Furious Cocktail
Template:BlockSprite Hero of the Village
Template:ItemSprite Monsters Hunted
Template:ItemSprite Two by Two
Template:ItemSprite A Balanced Diet
Template:ItemSprite Serious Dedication
100
Template:ItemSprite Smithing with Style 150
Template:ItemSprite Hot Tourist Destinations
Template:ItemSprite Adventuring Time
500
Template:ItemSprite How Did We Get Here? 1,000
Other
Template:ItemLink 3–11
Template:EntityLink 3–6 (8–11 if the villagers are willing to breed; not working since 1.14)
File:HeartParticle.png Breeding animals 1–7
Template:ItemLink 1–6

The following mobs and similar entities do not drop experience when killed: Template:Columns-list

Template:Notelist

Leveling up

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 10540 418


File:XP Per Level 14w02a.svg

The formulas for figuring out how many experience orbs needed to get to the next level are as follows:

Experience required =
2 × current_level + 7 (for levels 0–15)
5 × current_level – 38 (for levels 16–30)
9 × current_level – 158 (for levels 31+)

One can determine how much experience has been collected to reach a level using the equations:

Total experience =
level2 + 6 × level (at levels 0–16)
2.5 × level2 – 40.5 × level + 360 (at levels 17–31)
4.5 × level2 – 162.5 × level + 2220 (at levels 32+)

Likewise, to get the number of levels from the total experience value, one can utilize the following inverse equations:

Total Levels =
At levels 0-16 (totals 0 to 352): <math>\sqrt{\mathsf{total}+9}-3</math>
At levels 17–31 (totals 353 to 1507): <math>\frac{81}{10} + \sqrt{\frac{2}{5} \left( \mathsf{total} - \frac{7839}{40} \right)}</math>
At levels 32+ (totals 1508+): <math>\frac{325}{18} + \sqrt{\frac{2}{9} \left( \mathsf{total} - \frac{54215}{72} \right) }</math>

Useful numbers

  • Calculators/Required experience
  • Getting from level 0 to level 30 requires 1395 experience.
  • Getting from level 27 to level 30 requires 306 experience.
  • Killing one large Minecraft:slime and all the slimes that split from it yield from 12 to 28 experience, with an average of 19.
  • Killing a slime of the largest size that can be spawned using the Template:Cmd command and all slimes that split from it yield 448 to 8128 experience, with an average of 3025.
  • The maximum level required for using an enchanting table is level 30, while the anvil accepts jobs up to level 39 (in creative mode the anvil limit is removed).
  • Level 16 is a quarter of the way to level 30, while level 22 is about halfway there. Level 30, in turn, is halfway to level 39.
  • Killing the ender dragon the first time gives approximately 68 XP levels. The ender dragon actually drops 10 waves of orbs worth a total of 1,000 experience points per wave, and another worth a total of 2,000. Taken separately, the smaller waves could take a player from zero to level 26, while the big wave would take a player from zero to level 34. The largest orb dropped has a value of 1237 experience points, and can take a player from zero to level 28 all by itself.
    • However, it is practically impossible to collect all of the experience points as some of it will fall into the return portal, requiring you to go to the world origin to collect the remaining experience.
  • The maximum XP-level that players can get legitimately Template:In is 24,791.<ref>YouTube - Max XP level reached in Minecraft</ref>
  • The maximum XP that players can get legitimately Template:In is 238,609,312, and at this level the experience bar disappears, because reaching the next level would require more XP than the 32-bit integer limit (2,147,483,647, which is Template:Sup - 1). However, it is possible to reach level 2,147,483,647 using commands. In this case, the experience bar may disappear and reappear.<ref>Template:Bug</ref>

Score

Template:Redirect Template:Exclusive

File:Hardcore Death.png
Example of the score in Hardcore mode.

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.

Sounds

Template:Edition:
Experience orbs do not use entity-dependent sound events.

Template:SoundTable }}

Template:Edition: Template:SoundTable

Data values

ID

Template:Edition: Template:ID table

Template:Edition: Template:ID table

Entity data

Experience orbs have entity data associated with them that contain various properties.

Template:El: Template:Main

<section begin="entity data"/>

  • Template:Nbt Entity data
    • Template:Nbt inherit/entity
    • Template:Nbt: The number of ticks the XP orb has been "untouched". After 6000 ticks (5 minutes) the orb despawns.
    • Template:Nbt: The remaining number of times that the orb can be picked up. When the orb is picked up, the value decreases by 1. When multiple orbs are merged, their values are added up to result orb. When the value reaches 0, the orb is depleted.
    • Template:Nbt: The health of XP orbs. XP orbs take damage from fire, lava, falling anvils, and explosions. The orb is destroyed when its health reaches 0.
    • Template:Nbt: The amount of experience the orb gives when picked up.

<section end="entity data"/>

Template:El:

See Minecraft:Bedrock Edition level format/Entity format.

Videos

Template:Yt

History

Template:Info needed section

Development

Template:HistoryTable

Java Edition

Template:HistoryTable

Bedrock Edition

Template:HistoryTable

Legacy Console Edition

Template:HistoryTable

New Nintendo 3DS Edition

Template:HistoryTable

Data history

Template:HistoryTable

Other

File:DeathScore&e0.png
  • Before Minecraft:Beta 1.9 Prerelease 2, the score on the death screen always read &e0.
    • This was caused by an error with coloring the text. In Minecraft:Java Edition Classic (including the Minecraft:Survival Test versions that featured the original score system), the '&' character was used to color text, so '&e0' would produce '0' in bright yellow. This was later changed to instead use the '§' character for colored text, but because the death screen hadn't been updated with this, the raw formatting code was shown.
File:ExcessiveExperienceOrbs.png
An example of the excessive amount of experience orbs dropped upon Minecraft:death in Minecraft:Beta 1.8, causing extreme performance drops.

The experience level costs were heavily revised in snapshot Minecraft:12w22a and Minecraft: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 Minecraft: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 Minecraft: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.

Template:LoadPage

Template:LoadPage

Issues

Template:Issue list

Trivia

  • It was mentioned by Minecraft:Jeb in Minecraft:The World of Minecraft that he would have preferred the name "enchantment orbs" even though it is not in the code.<ref>Minecraft:The World of Minecraft, Chapter Four, Taste for Adventure, Food Items</ref>
  • If a player kills a mob by firing Minecraft:potions out of a Minecraft:dispenser, no experience is dropped.
  • Using experience on Minecraft:enchanting or Minecraft:repairing does not decrease the Minecraft:score that is shown upon Minecraft:death.
  • If the player gains experience points exceeding 238,609,311, the experience bar and level counter completely disappear from the Minecraft:HUD.<ref>Template:Bug</ref>
  • The maximum XP that can be gained from the Template:Cmd command is 2,147,483,647 levels or 231−1, the largest value representable by a 32-bit signed integer.
  • The texture file for experience orbs contains an additional five orb sprites that are all identical to the size 3 sprite.
  • The process of dropping orbs by base value prioritizing the highest applicable sizes is an example of the Template:W. The coin system is the set of base values of orbs by size. It is the set {1, 3, 7, 17, 37, 73, 149, 307, 617, 1237, 2477}. It is not a canonical coin system.

Gallery

Renders

Textures

Images

References

Template:Reflist

Navigation

Template:Navbox gameplay Template:Navbox entities

Minecraft:de:Erfahrung Minecraft:es:Experiencia Minecraft:fr:Expérience Minecraft:hu:Tapasztalat Minecraft:ja:経験値 Minecraft:ko:경험치 Minecraft:lzh:經驗 Minecraft:nl:Ervaring Minecraft:pl:Doświadczenie Minecraft:pt:Experiência Minecraft:ru:Опыт Minecraft:th:ค่าประสบการณ์ Minecraft:uk:Досвід Minecraft:zh:经验