Talk:Seed (level generation)

As of yet, there are a few theorys as to how these things work. I am somewhat new to wikis, so I probably shpuldnt have dumped a theory in the page. Shall we post them here? Lugnut1206 22:45, 22 February 2011 (UTC)

I have double checked that the same seed results in the same map. The spawn is different though, otherwise the seed is pretty much pointless.Lordhazzard 22:46, 22 February 2011 (UTC)

http://en.wikipedia.org/wiki/Random_seed

The seed number is used by the random number generator to make a sequence of "random" numbers to generate a "random" map. So using the same seed number should always generate the same map. I think the first random number generator took the middle four digits of a six-digit number and squared it to get the next number (or something like that).--PurpleKiwi 22:51, 22 February 2011 (UTC)

I've been testing out different seeds from the infamous 103, l33t, Notch, 4, 1. None of these produce the same results as what I was told I would receive. All very standard worlds with a few "landmarks" of sorts but nothing like I was told to expect. Try using a 19 digit seed and see if those produce similar results so there won't be any random digits added since you filled the field. MDR 22:55, 22 February 2011 (UTC)

I thought the same thing, but when i generate the map "1" a few times, i noticed the spawn moves and theres a sand + sign landmark thats a good marker. The map is the same in theory, but i think there are minor changes including trees, sand (if it moves?), mobs etc... Lordhazzard 22:57, 22 February 2011 (UTC)

Also i think to make things a lot easier, it would be good for players to goto x:0 and z:0 of the seed they generate and using that as the basis for the map design/layout/shape/biomes Lordhazzard 23:05, 22 February 2011 (UTC)

Some seeds provide everytime the same map with the same spawn location (like the seed "23"). It's said in the article that the spawn location is generated from the name of the world, but it doesn't work for the seed "23". In fact, if a seed provides a map with a spawn location of x=0.5 y=... z=0.5, then it will be always the same spawn location if you generate a new map with that seed (like "23" or "Glacier") whatever is the name of the map. But if the spawn is located on other coordinates, then a new generated map with the same seed will be exactly the same, except with another spawn location. That's what I experienced in the game. --Zeteube 14:40, 24 February 2011 (UTC)

Lock?
Can someone lock this for now? Most of this is total garbage. All the stuff on specific map features and placements isn't true; these seeds are only general map averages. --Fishrock123 02:10, 23 February 2011 (UTC)
 * I removed all but 5, which seems like a reasonable number of examples, but it looks like people are just going to keep adding more and more.. Manifold 03:08, 23 February 2011 (UTC)
 * Pffft. People. Anyways, I think 0-9 and probably alter the terrain average, and mixing the numbers probably mixes and/or amplifies the terrain alterations. A-Z might aswell. --Fishrock123 03:55, 23 February 2011 (UTC)

Rename
I suggest renaming this page to Seed (technical) (to avoid confusion with Seeds because the current title isn't useful. Is "technical" a good disambiguation for it though? --Gnu32 05:59, 23 February 2011 (UTC)
 * I'd have to say Seeds (technical) due to that's what it is. IKJames 15:36, 23 February 2011 (UTC)
 * How about Seeds (World Generator), to be more specific? [[File:Tjb0607SigIcon.png]] 21:50, 23 February 2011 (UTC)
 * Seems too wordy. (world) might be alright. Also, sans CamelCase when disambiguating. --Gnu32 23:17, 23 February 2011 (UTC)
 * I think it's been fixed now, for the most part. I'ma go ahead and remove the moving notice.--Kizzycocoa 20:31, 26 February 2011 (UTC)
 * Uh, not really.. it's still a long name. More input is needed I think. --Gnu32 10:55, 27 February 2011 (UTC)

*Facepalm* Edit war over fansite links
Seriously you guys? This is why we can't have a nice wiki. Grow up. --Jonnay 17:54, 20 March 2011 (UTC)

Can somebody tell me the letters or numbers required to get a seed with the water being replaced by lava?

I don't think that's possible with seeds. You could use a map editor though, if you really wanted.--Zkyo 16:03, 28 March 2011 (UTC)

It'd be easier if you went to the Nether. Also if you catch fire how will you stop flaming? That and Ghasts are why I hate the Nether. R ocĸetor talk  07:23, 30 March 2011 (UTC)

Different spawn point every time?
I'm not entirely convinced about this "different spawn point every time" thing. I tried out a seed on the forum that said that you would spawn in a dungeon, and I did, in fact, spawn in a dungeon.

Was this changed at some point? --Abcorntalk 07:39, 3 April 2011 (UTC)

I tested this with a friend- first using notable seeds, such as Glacier and Archimedes, then with random gibberish Result was 100% exact spawn. I imagine most of your probs concerning random spawns are related to tiny things like an extra space on the end of seed or a capital.Mick666 05:03, 8 April 2011 (UTC)

Can we get some clarification on how a alphabetic seed is converted to numeric?
Does anyone know how the String.hashCode function actually works?

The article lists the Calculation as "97 * 31**2 + 98 * 31 + 99 = 96354" (for the seed 'abc')

The Java documentation lists the formula for calculating hash codes as:

s[0]*31^(n-1) + s[1]*31^(n-2) + ... + s[n-1]

(where s[i] is the ith character of the string, n is the length of the string, and ^ indicates exponentiation)

I'm confused, these two examples seems to differ from eachother. Help? Superbun 19:45, 12 April 2011 (UTC)