Minecraft:World seed: Difference between revisions
More actions
imported>Canthonic m →General |
Remove broken links to missing pages |
||
| Line 12: | Line 12: | ||
A world's seed is set when that world is created. By default, it is decided automatically, but it can also be set manually. Setting and reusing a seed from one world generates the same world. Either a number or a word/phrase can be used, including negatives. If a word/phrase is used, it is converted into a 32-bit integer using the <code>.hashCode()</code> method. | A world's seed is set when that world is created. By default, it is decided automatically, but it can also be set manually. Setting and reusing a seed from one world generates the same world. Either a number or a word/phrase can be used, including negatives. If a word/phrase is used, it is converted into a 32-bit integer using the <code>.hashCode()</code> method. | ||
Whenever the world generation algorithm is updated (usually by adding new biomes to the game), the same seed no longer generates the same terrain. If the seed or generator changes in a saved world, new | Whenever the world generation algorithm is updated (usually by adding new biomes to the game), the same seed no longer generates the same terrain. If the seed or generator changes in a saved world, new chunks are based on the new seed and no longer match those from the old seed. Deleted chunks can regenerate if the seed and generator remain the same, but changes if either the seed or generator changes. In fact, deleting chunks is sometimes done to let newly-introduced features appear in an old world; see Tutorials/Updating old oceans in 1.13 using MCEdit. | ||
Because seeds are simply random values read into an algorithm and not actually names of different worlds, using a certain seed does not result in a world with any relevance to the value of that seed. For instance, using a [[Minecraft:biome]] name as the seed does not necessarily result in the creation of a world with primarily that biome, nor does it spawn the player within the said biome. | Because seeds are simply random values read into an algorithm and not actually names of different worlds, using a certain seed does not result in a world with any relevance to the value of that seed. For instance, using a [[Minecraft:biome]] name as the seed does not necessarily result in the creation of a world with primarily that biome, nor does it spawn the player within the said biome. | ||
| Line 19: | Line 19: | ||
== Determining the seed == | == Determining the seed == | ||
{{IN|java}}, the player can enter the | {{IN|java}}, the player can enter the command {{command|seed}} to view and copy the world's seed. This command is available in singleplayer worlds even if cheats are off. The player can also select 'Re-create' in the Worlds menu to see the seed. | ||
{{IN|bedrock}}, the seed can be found and copied on the | {{IN|bedrock}}, the seed can be found and copied on the world options screen. There are also seed templates that offers the player several pre-set seeds to generate worlds with specific features near the spawn point. Additionally, the beta version has a visible seed on the top of the screen. | ||
== Changing the seed == | == Changing the seed == | ||
{{Exclusive|bedrock|section=1}} | {{Exclusive|bedrock|section=1}} | ||
The seed of a world can be changed at any time using | The seed of a world can be changed at any time using world templates. By exporting a world and unzipping the file, one can place a [[Minecraft:manifest.json]] file in the world's folder with the <code>world_template</code> type, and <code>allow_random_seed:true</code>. When zipped into a <code>.mctemplate</code> file, it can be imported into the game. It appears under the {{UI|Create new world|Owned by me|Imported}} list of world templates, which, when selected opens the Create new world screen with the option to change the seed. However, this will not create a new world – all saved chunks are still in the world, meaning that only the world seed is changed; even achievements can still be earned. This also allows various other world creation options to be changed, such as flat world, bonus chest, Hardcore, and starting map, clear all player data, or even lock the world in older versions. | ||
== Notable seeds == | == Notable seeds == | ||
| Line 32: | Line 32: | ||
* The ''Java Edition'' demo world seed can be played in the full version by entering {{cd|North Carolina}} in the seed input. | * The ''Java Edition'' demo world seed can be played in the full version by entering {{cd|North Carolina}} in the seed input. | ||
** The | ** The Beta 1.3_01 PC Gamer demo world seed can be played in the appropriate era by entering {{cd|glacier}}, all lowercase unlike the famous seed where the G is capitalized, in the seed input. | ||
* The seeds for many of the | * The seeds for many of the panoramas used on the title screen are as follows: | ||
**The panorama used between | **The panorama used between Beta 1.8 Pre-release and 18w22c is either {{cd|2151901553968352745}} or {{cd|8091867987493326313}},<ref>{{reddit|hthrmk}}</ref> generated between Beta 1.6.6 and Beta 1.7. | ||
** Bedrock Edition 1.2.0 uses {{cd|95475027}}, which is the same seed as the "Winding River" | ** Bedrock Edition 1.2.0 uses {{cd|95475027}}, which is the same seed as the "Winding River" seed template generated before [[Minecraft:Bedrock Edition 1.18.0|1.18.0]]. | ||
** Java Edition 1.13 uses {{cd|1458140401}}, which is the seed resulting from typing {{cd|18w22a}} in as a seed, generated in snapshot | ** Java Edition 1.13 uses {{cd|1458140401}}, which is the seed resulting from typing {{cd|18w22a}} in as a seed, generated in snapshot 18w22a. | ||
** Java Edition 1.14 uses {{cd|2802867088795589976}}, taken in | ** Java Edition 1.14 uses {{cd|2802867088795589976}}, taken in 18w48a. | ||
** Java Edition 1.15 uses {{cd|-4404205509303106230}}, taken in | ** Java Edition 1.15 uses {{cd|-4404205509303106230}}, taken in 19w40a. | ||
** Java Edition 1.16 uses {{cd|6006096527635909600}}, taken in | ** Java Edition 1.16 uses {{cd|6006096527635909600}}, taken in 20w13a. | ||
** Java Edition 1.18 uses {{cd|2151901553968352745}}, taken in | ** Java Edition 1.18 uses {{cd|2151901553968352745}}, taken in 21w40a. | ||
** Java Edition 1.19 uses {{cd|-1696067516}}, which is the seed resulting from typing {{cd|thewildupdate}} in as a seed, taken in | ** Java Edition 1.19 uses {{cd|-1696067516}}, which is the seed resulting from typing {{cd|thewildupdate}} in as a seed, taken in 22w15a. | ||
** Java Edition 1.20 uses {{cd|8554477380691140270}}, taken in | ** Java Edition 1.20 uses {{cd|8554477380691140270}}, taken in 23w14a. | ||
** Java Edition 1.21.6 and Bedrock Edition 1.21.90 use {{cd|8819392414030687460}}, taken in | ** Java Edition 1.21.6 and Bedrock Edition 1.21.90 use {{cd|8819392414030687460}}, taken in 25w20a and [[Minecraft:Bedrock Edition Preview 1.21.90.26|Preview 1.21.90.26]], respectively. | ||
* The seed for the original pack.png file is {{cd|3257840388504953787}}, taken some time before the release of | * The seed for the original pack.png file is {{cd|3257840388504953787}}, taken some time before the release of Alpha v1.2.2<ref>{{reddit|iocx6f}}</ref>. It generates most correctly from Alpha v1.2.0 to Alpha v1.2.5, but can also be generated up to Beta 1.7.3 with minor population differences. It's also the default seed for Bedrock Edition's New UI of Create New World when no seed is entered or created since [[Minecraft:Bedrock Edition beta 1.18.20.21]]. This seed spawns the player in a savanna biome at coordinates {{cd|Position: -208, 65, 0}}. | ||
* The seed for the Skull on Fire [[Minecraft:painting]] is either {{cd|-6984854390176336655}} or {{cd|-1044887956651363087}}, generated in | * The seed for the Skull on Fire [[Minecraft:painting]] is either {{cd|-6984854390176336655}} or {{cd|-1044887956651363087}}, generated in Alpha v1.1.2_01 or prior.<ref>{{reddit|iqg3ey}}</ref> | ||
* The seed used for the original | * The seed used for the original Herobrine hoax screenshot is {{cd|478868574082066804}}, generated in Alpha v1.0.16_02. | ||
* The seed used for the original | * The seed used for the original Herobrine hoax livestream is {{cd|3609313613745973624}}, generated in Alpha v1.0.17_04. | ||
* Seeds used for the | * Seeds used for the Legacy Console Edition tutorial worlds: | ||
** Each world is referred to by its respective | ** Each world is referred to by its respective Xbox 360 Edition update. | ||
** | ** TU1 and TU3 used the seed {{cd|1171544198849424676}} | ||
** | ** TU5 used the seed {{cd|6173462}} | ||
** | ** TU7 and TU9 used the seed {{cd|96414766889474996}} | ||
** | ** TU12 and TU14 used the seed {{cd|1227750481513469519}} | ||
** | ** TU19, TU31, TU46, and TU69 were artificially-created and can't be generated by any seed. | ||
| Line 69: | Line 69: | ||
=== Overlap between editions === | === Overlap between editions === | ||
All ''Java'' and ''Bedrock Edition'' seeds in the range from -9,223,372,036,854,775,808 to 9,223,372,036,854,775,807{{Verify|It seems that all seeds have the same terrain and biomes across editions.}} (64-bit seeds) generate the same terrain and [[Minecraft:biome]]s in both ''Java'' and ''Bedrock Edition''. However, [[Minecraft:structure]]s, [[Minecraft:feature]]s (i.e. decorators), | All ''Java'' and ''Bedrock Edition'' seeds in the range from -9,223,372,036,854,775,808 to 9,223,372,036,854,775,807{{Verify|It seems that all seeds have the same terrain and biomes across editions.}} (64-bit seeds) generate the same terrain and [[Minecraft:biome]]s in both ''Java'' and ''Bedrock Edition''. However, [[Minecraft:structure]]s, [[Minecraft:feature]]s (i.e. decorators), carver caves, and mob spawns will generate differently. | ||
==Videos== | ==Videos== | ||
| Line 102: | Line 102: | ||
|{{HistoryLine||20100227-1433|Brick pyramid generation changed - they now always come to a single point at the top, rather than sometimes being truncated, resulting in "brick square frusta".}} | |{{HistoryLine||20100227-1433|Brick pyramid generation changed - they now always come to a single point at the top, rather than sometimes being truncated, resulting in "brick square frusta".}} | ||
|{{HistoryLine||20100313|Oceans are considerably larger than before.{{check the code}}}} | |{{HistoryLine||20100313|Oceans are considerably larger than before.{{check the code}}}} | ||
|{{HistoryLine||20100320|Reimplemented primitive | |{{HistoryLine||20100320|Reimplemented primitive ore blob generation, in which they spawn as scattered, single blocks. | ||
|Reimplemented | |Reimplemented tree generation.}} | ||
|{{HistoryLine||20100325-1545|Ore blob generation has been changed to the modern generation type. However, a float is used in their generation, causing their generation to | |{{HistoryLine||20100325-1545|Ore blob generation has been changed to the modern generation type. However, a float is used in their generation, causing their generation to break down at excessive distances. | ||
|Added [[Minecraft:cave]]s. They generate through all blocks, not just terrain blocks.}} | |Added [[Minecraft:cave]]s. They generate through all blocks, not just terrain blocks.}} | ||
|{{HistoryLine||20100327|Terrain-breaking change to world gen: using any given seed on older versions now generates a different world. | |{{HistoryLine||20100327|Terrain-breaking change to world gen: using any given seed on older versions now generates a different world. | ||
|World generation has been significantly overhauled, which is visually very obvious. | |World generation has been significantly overhauled, which is visually very obvious. | ||
|Removed caves. | |Removed caves. | ||
|Removed | |Removed random patches of flowers. | ||
|The large stone wall at 33,554,432 no longer generates. Instead, the | |The large stone wall at 33,554,432 no longer generates. Instead, the Far Lands generate at 12,550,824.}} | ||
|{{HistoryLine||20100413|All trees are now large trees. | |{{HistoryLine||20100413|All trees are now large trees. | ||
|[[Minecraft:Sand]] and [[Minecraft:gravel]] now generate with the world again.}} | |[[Minecraft:Sand]] and [[Minecraft:gravel]] now generate with the world again.}} | ||
| Line 119: | Line 119: | ||
|Terrain now appears to come in large islands. | |Terrain now appears to come in large islands. | ||
|Terrain can now generate high enough to be higher than the world height limit, causing it to be cut off. | |Terrain can now generate high enough to be higher than the world height limit, causing it to be cut off. | ||
|Monoliths now have the potential to generate. | |||
|The amount of trees that generate appears to be different now.}} | |The amount of trees that generate appears to be different now.}} | ||
|{{HistoryLine||20100616-1808|Minor terrain-breaking change to world gen. | |{{HistoryLine||20100616-1808|Minor terrain-breaking change to world gen. | ||
| Line 125: | Line 125: | ||
|Reimplemented caves. | |Reimplemented caves. | ||
|Random patches of flowers and [[Minecraft:mushroom]]s now generate. | |Random patches of flowers and [[Minecraft:mushroom]]s now generate. | ||
| | |Springs now generate. | ||
|[[Minecraft:Lava]] now naturally generates, although how it does so exactly is unknown.}} | |[[Minecraft:Lava]] now naturally generates, although how it does so exactly is unknown.}} | ||
|{{HistoryLine|java alpha}} | |{{HistoryLine|java alpha}} | ||
| Line 157: | Line 157: | ||
|{{HistoryLine|pocket alpha}} | |{{HistoryLine|pocket alpha}} | ||
|{{HistoryLine||v0.1.0|Added seeds (32 bit).}} | |{{HistoryLine||v0.1.0|Added seeds (32 bit).}} | ||
|{{HistoryLine||v0.7.2|The seed for each world is now displayed in the | |{{HistoryLine||v0.7.2|The seed for each world is now displayed in the world selection menu when the "Edit" button is pressed.}} | ||
|{{HistoryLine||v0.9.0|dev=build 1|Terrain-breaking change to world gen: using any given seed on older versions now generates a different world.}} | |{{HistoryLine||v0.9.0|dev=build 1|Terrain-breaking change to world gen: using any given seed on older versions now generates a different world.}} | ||
|{{HistoryLine||v0.11.0|dev=build 7|The seed is now displayed at the top of the screen in development versions while the player is in a world.}} | |{{HistoryLine||v0.11.0|dev=build 7|The seed is now displayed at the top of the screen in development versions while the player is in a world.}} | ||
|{{HistoryLine|||dev=?|Before this update, the game would use a Unix timestamp as the seed if no other seed was typed. From this update onwards, it uses a random number generation.}} | |{{HistoryLine|||dev=?|Before this update, the game would use a Unix timestamp as the seed if no other seed was typed. From this update onwards, it uses a random number generation.}} | ||
|{{HistoryLine|bedrock}} | |{{HistoryLine|bedrock}} | ||
|{{HistoryLine||1.18.0|dev=beta 1.18.0.20|Terrain-breaking change to the world gen. Revamp [[Minecraft:Cave]]s, | |{{HistoryLine||1.18.0|dev=beta 1.18.0.20|Terrain-breaking change to the world gen. Revamp [[Minecraft:Cave]]s, Mountains, and Terrain height system.}} | ||
|{{HistoryLine|||dev=beta 1.18.0.22|Replaced the random number generator used in world generation, resulting in different terrain being generated using same seed.}} | |{{HistoryLine|||dev=beta 1.18.0.22|Replaced the random number generator used in world generation, resulting in different terrain being generated using same seed.}} | ||
|{{HistoryLine|||dev=beta 1.18.0.24|Seeds have been reshuffled again. Worlds no longer look like they did in previous betas.}} | |{{HistoryLine|||dev=beta 1.18.0.24|Seeds have been reshuffled again. Worlds no longer look like they did in previous betas.}} | ||
| Line 207: | Line 207: | ||
{{Navbox Bedrock Edition}} | {{Navbox Bedrock Edition}} | ||
cs:Zdroj | |||
de:Startwert | |||
es:Semilla (generación de mundo) | |||
fr:Graine (génération du monde) | |||
ja:シード値 | |||
ko:시드 | |||
lzh:種(闢世) | |||
nl:Seed (wereldgeneratie) | |||
pl:Ziarno generatora | |||
pt:Semente de mundo | |||
ru:Ключ генератора мира | |||
uk:Зерно | |||
zh:种子(世界生成) | |||
Revision as of 16:10, 9 April 2026
Template:For The world seed (or simply seed; referred to as seed for the world generator in-game) is a value made up of character(s) (including negative or positive integers) that is used as the basis for generating every Minecraft world.<ref>A Short Demystification of the 'Map Seed' - Jens Bergensten on Mojang.com; February 23, 2011</ref>
Compatibility
Seeds are somewhat compatible between Java and Minecraft:Bedrock Edition, with terrain generation and biomes being the same. However, the placement of generated Minecraft:structures differs between these editions.
World generation
Whenever the game has to generate a new world, it calls upon an algorithm known as Template:W. This algorithm outputs a pseudo-random value that is then used to determine the characteristics and features of the world. However, the algorithm always outputs the same value each time for a constant starting point (seed). Thus, the same seed generates the same terrain every time.
A world's seed is set when that world is created. By default, it is decided automatically, but it can also be set manually. Setting and reusing a seed from one world generates the same world. Either a number or a word/phrase can be used, including negatives. If a word/phrase is used, it is converted into a 32-bit integer using the .hashCode() method.
Whenever the world generation algorithm is updated (usually by adding new biomes to the game), the same seed no longer generates the same terrain. If the seed or generator changes in a saved world, new chunks are based on the new seed and no longer match those from the old seed. Deleted chunks can regenerate if the seed and generator remain the same, but changes if either the seed or generator changes. In fact, deleting chunks is sometimes done to let newly-introduced features appear in an old world; see Tutorials/Updating old oceans in 1.13 using MCEdit.
Because seeds are simply random values read into an algorithm and not actually names of different worlds, using a certain seed does not result in a world with any relevance to the value of that seed. For instance, using a Minecraft:biome name as the seed does not necessarily result in the creation of a world with primarily that biome, nor does it spawn the player within the said biome.
Determining the seed
Template:IN, the player can enter the command Template:Command to view and copy the world's seed. This command is available in singleplayer worlds even if cheats are off. The player can also select 'Re-create' in the Worlds menu to see the seed.
Template:IN, the seed can be found and copied on the world options screen. There are also seed templates that offers the player several pre-set seeds to generate worlds with specific features near the spawn point. Additionally, the beta version has a visible seed on the top of the screen.
Changing the seed
Template:Exclusive
The seed of a world can be changed at any time using world templates. By exporting a world and unzipping the file, one can place a Minecraft:manifest.json file in the world's folder with the world_template type, and allow_random_seed:true. When zipped into a .mctemplate file, it can be imported into the game. It appears under the Template:UI list of world templates, which, when selected opens the Create new world screen with the option to change the seed. However, this will not create a new world – all saved chunks are still in the world, meaning that only the world seed is changed; even achievements can still be earned. This also allows various other world creation options to be changed, such as flat world, bonus chest, Hardcore, and starting map, clear all player data, or even lock the world in older versions.
Notable seeds
Template:Info needed section The following map seeds have, at one point or another, been used for generating official Minecraft maps and resources or otherwise significant community material.
- The Java Edition demo world seed can be played in the full version by entering Template:Cd in the seed input.
- The Beta 1.3_01 PC Gamer demo world seed can be played in the appropriate era by entering Template:Cd, all lowercase unlike the famous seed where the G is capitalized, in the seed input.
- The seeds for many of the panoramas used on the title screen are as follows:
- The panorama used between Beta 1.8 Pre-release and 18w22c is either Template:Cd or Template:Cd,<ref>Template:Reddit</ref> generated between Beta 1.6.6 and Beta 1.7.
- Bedrock Edition 1.2.0 uses Template:Cd, which is the same seed as the "Winding River" seed template generated before 1.18.0.
- Java Edition 1.13 uses Template:Cd, which is the seed resulting from typing Template:Cd in as a seed, generated in snapshot 18w22a.
- Java Edition 1.14 uses Template:Cd, taken in 18w48a.
- Java Edition 1.15 uses Template:Cd, taken in 19w40a.
- Java Edition 1.16 uses Template:Cd, taken in 20w13a.
- Java Edition 1.18 uses Template:Cd, taken in 21w40a.
- Java Edition 1.19 uses Template:Cd, which is the seed resulting from typing Template:Cd in as a seed, taken in 22w15a.
- Java Edition 1.20 uses Template:Cd, taken in 23w14a.
- Java Edition 1.21.6 and Bedrock Edition 1.21.90 use Template:Cd, taken in 25w20a and Preview 1.21.90.26, respectively.
- The seed for the original pack.png file is Template:Cd, taken some time before the release of Alpha v1.2.2<ref>Template:Reddit</ref>. It generates most correctly from Alpha v1.2.0 to Alpha v1.2.5, but can also be generated up to Beta 1.7.3 with minor population differences. It's also the default seed for Bedrock Edition's New UI of Create New World when no seed is entered or created since Minecraft:Bedrock Edition beta 1.18.20.21. This seed spawns the player in a savanna biome at coordinates Template:Cd.
- The seed for the Skull on Fire Minecraft:painting is either Template:Cd or Template:Cd, generated in Alpha v1.1.2_01 or prior.<ref>Template:Reddit</ref>
- The seed used for the original Herobrine hoax screenshot is Template:Cd, generated in Alpha v1.0.16_02.
- The seed used for the original Herobrine hoax livestream is Template:Cd, generated in Alpha v1.0.17_04.
- Seeds used for the Legacy Console Edition tutorial worlds:
- Each world is referred to by its respective Xbox 360 Edition update.
- TU1 and TU3 used the seed Template:Cd
- TU5 used the seed Template:Cd
- TU7 and TU9 used the seed Template:Cd
- TU12 and TU14 used the seed Template:Cd
- TU19, TU31, TU46, and TU69 were artificially-created and can't be generated by any seed.
Generation anomalies
Some seeds are known to cause strange effects in the world generation, due to their mathematical properties. See Minecraft:Anomalous world seeds for more information.
Technical
Realms
Template:IN, a player can type Template:Cmd in the chat. Template:IN, the seed is not visible when playing on Realms, but can be seen by downloading the world.
General
If the seed contains characters other than digits (except the first character, which can be "-" or "+") or falls out of range of a Java Template:Cd number (an integer between −263 and 263−1), the Java String.hashCode() function is used to generate the seed number. This restricts Minecraft to a subset of the possible worlds to 232 (or 4,294,967,296), due to the Template:Cd datatype being used. A numeric seed or a random (blank) world seed must be used to access the full set of possible worlds (which is 264, or 18,446,744,073,709,551,616, or 18.4 quintillion).
Overlap between editions
All Java and Bedrock Edition seeds in the range from -9,223,372,036,854,775,808 to 9,223,372,036,854,775,807Template:Verify (64-bit seeds) generate the same terrain and Minecraft:biomes in both Java and Bedrock Edition. However, Minecraft:structures, Minecraft:features (i.e. decorators), carver caves, and mob spawns will generate differently.
Videos
History
Template:Info needed section Template:Needs update
Java Edition
Bedrock Edition
Legacy Console Edition
New Nintendo 3DS Edition
References
External links
Bedrock and Java Editions
- Chunkbase Minecraft Apps: Online seed/map explorer tool
- Minecraft Seeds on Reddit: Community-driven Minecraft Seeds
- Minecraft Seeds: Community-driven Minecraft Seeds
- LookingForSeed: Find Minecraft seeds from various categories
Java Edition only
Template:Navbox Java Edition technical Template:Navbox Bedrock Edition
cs:Zdroj de:Startwert es:Semilla (generación de mundo) fr:Graine (génération du monde) ja:シード値 ko:시드 lzh:種(闢世) nl:Seed (wereldgeneratie) pl:Ziarno generatora pt:Semente de mundo ru:Ключ генератора мира uk:Зерно zh:种子(世界生成)