Talk:Experience

The main part of this page has a redirect to it's self just so you guys know. 24.10.30.125 08:15, 11 September 2011 (UTC)vanstrat

Someone needs to fix the Bugs text, because that has been officially fixed by Jeb. 173.72.72.214 22:00, 19 September 2011 (UTC)

Points?
http://twitter.com/#!/notch/status/119024329550856192  In that tweet Notch talks about experience orbs being worth 1 point and breaking a tradition. Does anyone else think that experience orbs will break the &e0 score we get when we die? Finally have a score from eorbs? --Throex 15:13, 28 September 2011 (UTC)
 * With this I would have to it backs it up more.

http://www.minecraftforum.net/news/244-19-updates-old-score-gone-experience-possible-substitute/ --Throex 01:01, 29 September 2011 (UTC)

Screenshot of the Buff Potion effects
You do know that Jeb tested potion effects/buffs, and not skillpoint related stuff in that picture from Twitter?

I edited and removed it, remember the spirit of a wiki imply you should take action, if you find something you know is wrong you don't have to be afraid to fix it yourself. Daropedia 16:25, 3 October 2011 (UTC)

Experience loss on death
In case someone deems it worthy to be added to the article, I recently died in the nether (because I'm stupid enough to go down there without flint&steel and get my portal shot by a ghast). I was level 19, built a small safe house, I put a chest inside and dropped all my stuff in it. I went out, lit myself in a random fire, ran back to the safe house, and died. When I went back to the nether to pick up the experience orbs I had dropped, it was barely enough to get me to level 1, halfway to level 2. This means, if you die you better forget about your exp, that was almost a complete experience loss. --Mokunen 04:21, 10 October 2011 (UTC)


 * I concur. I was at level 200-something and got sucked into lava by soul sand, also only dropped enough to get about halfway to level 2. Father  Toast  04:47, 10 October 2011 (UTC)
 * Remember that the fire/lava may have burned a large proportion of your orbs. Kill yourself with fall damage for an unbiased test. --HexZyle 05:38, 10 October 2011 (UTC)

"Sucked into lava by soul sand" It does that now? --Throex 05:42, 10 October 2011 (UTC)
 * Trollol. I was wondering about that, but it's more important that I address what was relative to the page rather than if the statement was true or not. --HexZyle 06:15, 10 October 2011 (UTC)
 * I actually went and tested that last night after I read it. Set up different patterns of soul sand and then stood there.. NOTHING. And I really thought there was a feature in 1.9 no one had found yet. Might be a neat idea to have a block like that in the nether though. Soul sand would be the block of choice for that.. in my opinion. lol --Throex 18:24, 10 October 2011 (UTC)
 * But...you believed him? It's obvious there's SOMETHING fishy with his story when he said "200 skillpoints". He would at least have several diamond by then and have crafted a enchantment table --HexZyle 19:55, 10 October 2011 (UTC)
 * Lol I'd just guess he wanted to say 20, not 200... but soulsand doesn't work like that for sure, and lava destroys orbs as HexZyle pointed out so... trololo. --Mokunen 20:15, 10 October 2011 (UTC)

It seems this has been fixed in 1.9pre4. Now you drop a few orbs worth your full exp. at the moment of death. --Mokunen 03:12, 15 October 2011 (UTC)
 * Wow that's pretty sweet. So the orbs have different values now! Maybe they should flash rainbow colours if they are worth more :P --HexZyle 03:41, 15 October 2011 (UTC)
 * Actually seems like the devs had a similar idea... with the help of zombe's modpack, I've been doing some research on how much exp is needed for leveling, and I've found that hostile mobs (creepers, zombies, endermen, spiders and skeletons) drop 5 experience points on death, in the form of two orbs worth 1 point each, and one orb worth 3 points; looking very closely, the latter seems a tiny bit bigger than the former. --Mokunen 06:27, 16 October 2011 (UTC)
 * [Anonymous User who has no account]

I saw a vid on youtube from BdoubleO100, he died at level3, recollected all his XP and his level was 11. Anyone had something similar to that or could try it out?
 * You lose half your experience, which is enough to drop to about 75% of your previous level --HexZyle 12:01, 25 October 2011 (UTC)


 * Actually, I believe the amount you drop has nothing to do with the amount of experience you had, but rather is a value equal to half your score rounded down (keeping in mind that gathering any amount of experience causes your score to go up by the same amount, but spending that experience on enchantments doesn't cause a score reduction). I also suspect you won't ever drop more then 400 points, but I'm not sure on that one.


 * Also worth noting, it seems that if you hit the respawn button before you drop your experience orbs (something that takes a second or two after the button appears on the screen), you won't drop anything at all. Haven't gotten around to installing 1.9pre5 so I can confirm it there, so I'm not adding this to the page just yet, but I'm fairly certain this is how things work in pre4. - Bomb Bloke (Talk/Contribs) 11:51, 9 November 2011 (UTC)


 * Ahem, your score IS your experience. --HexZyle 19:22, 9 November 2011 (UTC)
 * As was mentioned previously, the experience drops when enchanting. The Score does not. --Gitterrost4 19:24, 9 November 2011 (UTC)
 * Exactly. Say you earn 400 exp (level 10), spend it all so you go down to level 0 again, then die - you get at least 200 points back (enough to get you back up to level 7). You can then spend those seven levels, die again, get back up to level 4, and so on... - Bomb Bloke (Talk/Contribs) 21:44, 9 November 2011 (UTC)

Experience From Mobs
Does anybody know, how much experience the Mobs give? (in 1.9-pre4) I think I read somewhere that notch made it, so one orb is not always worth one point. Maybe someone has an idea on how to measure experience drops. And then it would be interesting how much Experience you need for each level (I would guess it can be described with a formula which grows exponentially). --Gitterrost4 14:18, 22 October 2011 (UTC)
 * I will begin some tests on it soon. This link will contain my results. --HexZyle 05:59, 23 October 2011 (UTC)
 * TESTS HAVE BEGUN! Please help by following the above link. The final project will be merged with this and the Experience Orb page --HexZyle 11:03, 24 October 2011 (UTC)

And do experience drops go up on higher difficulty levels?
 * I'm in the middle of testing this. Seems that passive mobs drop same xp no matter what difficulty. I've yet to get around to hostiles. --HexZyle 11:57, 25 October 2011 (UTC)
 * Tests have all been completed. All results from tests have been merged onto the page. --HexZyle 02:28, 27 October 2011 (UTC)

Orbs Disappearing
I know that jeb added a section to the code that would only allow a certain amount of your orbs to drop on death to cut down on lag spots, but how come at sometimes more drop than at other times and I have also noticed that other times when water is involved, you lose ALL your orbs. I have tested this by reaching level 5 and killing myself in different instances. -- Throex  '''TALK 01:36, 7 November 2011 (UTC)
 * I am thinking they should add some way (should not be easy to gain access to this item/chest) to deposit your orbs into it. Maybe a chest that has been enchanted in some way? -- Throex  '''TALK 01:36, 7 November 2011 (UTC)

Experience Scaling
To whomever keeps changing the Trivia post about how the experience scales: It has a linear scaling, not quadratic. Linear: 7, 14, 21, 28, 35, 42, 49, 56, 63, 70, 77,.... Quadratic: 7, 49, 343, 2401, 16807,.... And it certainly is not Logaritmic which is what this page said when I changed it to linear first time around. 109.130.80.39 10:23, 11 November 2011 (UTC)
 * To clarify further: The Experience needed to go from level n-1 to level n is 7n. So it is linear. The experience needed to go from level 0 to level n is 7*(n^2+n)/2. So this would be quadratic. This might be the cause of the confusion? --Gitterrost4 11:30, 11 November 2011 (UTC)
 * And the sequence 7, 49, 343, 2401, 16807,.... describes exponential growth, not quadratic growth. Quadratic would be something like 7, 28, 63, 112,...
 * Yes thank you. This is indeed correct and I was a little bit fast putting down the exponential growth instead of the quadratic. I'm just happy this is not getting changed back to something else then linear. 81.164.94.163 20:59, 12 November 2011 (UTC)

Leveling Algorithm changed
I suppose, those statements about linear growth of exp needed to go from lvl n to n+1 come from earlier versions of MC, however now in the 1.0.0 the algorithm used is more complicated and works like

xpbar=xp/(7+round_down(old_level*3.5))

new_lvl=old_level+round_down(xpbar)

a resonable approximation for this algo for going from 0 to lvl x in [1..200] would be 1.9504*x^2+4.9938*x+1.75 so i'd suggest to update this article.--84.181.151.221 14:39, 19 November 2011 (UTC)


 * Substituting the second equation into the first, and replacing the string name variables with the letter variables displayed on the page, your equation reads:

x = n + rdn(E / 7 + rdn(3.5n))
 * as opposed to the original:

E = 3.5(x(x + 1) - n(n + 1))


 * Where E = total experience, n = initial level and x = current level (n < x)
 * Correct? --HexZyle 02:10, 20 November 2011 (UTC)


 * I'm afraid, this is not the same. The total experience E is not the same as xp above. xp is the Experience you got once this function is called, and this should happen every time you get an xp-Orb, where xp is the value of the xp-orb, so usually its something in [1..5]. If you want to use the notation displayed on the page, you really have to use the approximation:

E=1.9504x2+4.9938x+1.75
 * where E is the total experience needed to go from lvl 0 to lvl x. And

E=1.9504(x2-n2)+4.9938(x-n)
 * where E is the total experience needed to go from lvl n to lvl x. This approx. differs by max +-1exp from the exact values for x,n in [1..200].
 * If you want the exact values you have to run: If you are on lvl=n, you have c xp on your xp bar and you want to go to lvl x and to do so you get d xp-Points per mob (actually per xp-orb and this value depends on the mob-type you kill, but normal mobs give max 10 xp, the enderdragon is more complicated here):

lvl=n; xp_left=c; k=1; while (lvl<x){ xp_new=xp_left+d; lvl_new=lvl+rdn(xp_new/(7+rdn(lvl*3.5))); xp_left=xp_new-rdn(xp_new/(7+rdn(lvl*3.5)))*(7+rdn(lvl*3.5)); lvl=lvl_new; k=k+1; }
 * and k is the number of mobs you have to kill, or if d=1 the total xp you need (by gathering xp-orbs with 1 xp-point)
 * This is not exactly what happens in the code, there (7+rdn(lvl*3.5)) is calculated once per functioncall. So lets say you are on lvl 0 and another player is on lvl 100 and both of you get an xp-Orb with 1000-xp-Value then you would instantly go to lvl rdn(1000/7) = 142 and the other player only to rdn((1000/(7+(100*3.5))))+100=102. But usually these orb-Values are in Ranges much smaller than this (enderdragon might be an exception)--84.181.149.146 06:28, 20 November 2011 (UTC)
 * I don't think it has changed since 1.9. This algorithm i put on the page was just an estimation. I was confused by a couple discrepancies: i wouldn't always get the calculated xp from what i did, but I thought the algorithm was fairly accurate and just put it up there anyway, dismissing any errors i thought existed as human errors. I'll put a note up on the page that says the algorithm is an approximation. --HexZyle 06:20, 22 November 2011 (UTC)
 * Ok. Btw i have a mistake in my approximation i mentioned above, it should be

E= 1.75x2+5x+2 = 1.75x(x+2)+1.5x+2
 * for going from lvl 0 to lvl x and

E=1.75(x2-n2)+5(x-n)
 * for going from lvl n to x. The worst difference between the approx and the exact value is then +-1 for x,n in [1..200].--77.5.112.255 08:22, 22 November 2011 (UTC)

Level Cap?
Is here a hardcoded level cap? I noticed after I had killer an Enderdragon, I capped off at like, 80, and couldn't gain any more XP from anything. Might this cap be a bug?

Bejoe905 19:49, 26 November 2011 (UTC)

The XP bar grows very very slowly at level 80; I just experimented and came up with somewhere around 375 XP. By comparison, the enderdragon gives you 20,000 XP, and the levels you gain are boosted by the levels/XP bug I documented.

Or do you mean that when defeating monsters, XP no longer appears at all? 142.163.166.214 01:10, 30 November 2011 (UTC)

I did a few tests and I got to Level 100,000 using single player commands, that simply means you can just keep on going without an end. However, I do believe that they might add a level cap because eventually your stats are going to be too ridiculous to play with. Dotsonface 05:19, 6 December 2011 (UTC)