Minecraft:World seed: Difference between revisions
More actions
Fix template calls: add MC/ prefix |
Sync: updated from Minecraft |
||
| Line 1: | Line 1: | ||
{{ | {{for|other uses|Seeds}} | ||
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 [[Minecraft:world generation|generating every ''Minecraft'' world]].<ref>[https://web.archive.org/web/20120307165955/https://www.mojang.com/2011/02/a-short-demystification-of-the-map-seed/ A Short Demystification of the 'Map Seed'] - Jens Bergensten on Mojang.com; February 23, 2011</ref> | 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 [[Minecraft:world generation|generating every ''Minecraft'' world]].<ref>[https://web.archive.org/web/20120307165955/https://www.mojang.com/2011/02/a-short-demystification-of-the-map-seed/ A Short Demystification of the 'Map Seed'] - Jens Bergensten on Mojang.com; February 23, 2011</ref> | ||
| Line 6: | Line 6: | ||
== World generation == | == World generation == | ||
{{ | {{main|World generation}} | ||
Whenever the game has to generate a new world, it calls upon an algorithm known as ''{{ | Whenever the game has to generate a new world, it calls upon an algorithm known as ''{{w|Perlin noise}}''. 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 <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 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. | 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 [[Minecraft: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 [[Minecraft: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 [[Minecraft: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 [[Minecraft:World Options|world options]] screen. There are also 25 [[Minecraft: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}} | ||
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 {{ | The seed of a world can be changed at any time using [[Minecraft:World template|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 [[Minecraft:Create New World|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 [[Minecraft: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 == | ||
{{ | {{info needed section|What seeds are used for Bedrock Edition panoramas?}} | ||
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 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 {{ | * The ''Java Edition'' [[Minecraft:demo]] world seed can be played in the full version by entering {{cd|North Carolina}} in the seed input. | ||
** The Beta 1.3_01 PC Gamer demo world seed can be played in the appropriate era by entering {{ | ** The [[Minecraft:Java Edition Beta 1.3_01|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 following seeds are used for the ''Bedrock Edition'' trial version: <code>818010429</code>, <code>29300</code>, <code>1395001428</code>, <code>1537846859</code>, and <code>1193926712</code> . | ||
**The panorama used between Beta 1.8 Pre-release and 18w22c is either {{ | * The seeds for many of the [[Minecraft:panorama]]s used on the [[Minecraft:Title Screen|title screen]] are as follows: | ||
** Bedrock Edition 1.2.0 uses {{ | **The panorama used between [[Minecraft:Java Edition Beta 1.8 Pre-release|Beta 1.8 Pre-release]] and [[Minecraft:Java Edition 18w22c|18w22c]] is either {{cd|2151901553968352745}} or {{cd|8091867987493326313}},<ref>{{reddit|hthrmk}}</ref> generated between [[Minecraft:Java Edition Beta 1.6.6|Beta 1.6.6]] and [[Minecraft:Java Edition Beta 1.7|Beta 1.7]]. | ||
** Java Edition 1.13 uses {{ | ** Bedrock Edition 1.2.0 uses {{cd|95475027}}, which is the same seed as the "Winding River" [[Minecraft:seed template]] generated before [[Minecraft:Bedrock Edition 1.18.0|1.18.0]]. | ||
** Java Edition 1.14 uses {{ | ** Java Edition 1.13 uses {{cd|1458140401}}, which is the seed resulting from typing {{cd|18w22a}} in as a seed, generated in snapshot [[Minecraft:18w22a]]. | ||
** Java Edition 1.15 uses {{ | ** Java Edition 1.14 uses {{cd|2802867088795589976}}, taken in [[Minecraft:18w48a]]. | ||
** Java Edition 1.16 uses {{ | ** Java Edition 1.15 uses {{cd|-4404205509303106230}}, taken in [[Minecraft:19w40a]]. | ||
** Java Edition 1.18 uses {{ | ** Java Edition 1.16 uses {{cd|6006096527635909600}}, taken in [[Minecraft:20w13a]]. | ||
** Java Edition 1.19 uses {{ | ** Java Edition 1.18 uses {{cd|2151901553968352745}}, taken in [[Minecraft:21w40a]]. | ||
** Java Edition 1.20 uses {{ | ** Java Edition 1.19 uses {{cd|-1696067516}}, which is the seed resulting from typing {{cd|thewildupdate}} in as a seed, taken in [[Minecraft:22w15a]]. | ||
** Java Edition 1.21.6 and Bedrock Edition 1.21.90 use {{ | ** Java Edition 1.20 uses {{cd|8554477380691140270}}, taken in [[Minecraft:23w14a]]. | ||
* The seed for the original pack.png file is {{ | ** Java Edition 1.21.6 and Bedrock Edition 1.21.90 use {{cd|8819392414030687460}}, taken in [[Minecraft:25w20a]] and [[Minecraft:Bedrock Edition Preview 1.21.90.26|Preview 1.21.90.26]], respectively. | ||
* The seed for the Skull on Fire [[Minecraft:painting]] is either {{ | * The seed for the original pack.png file is {{cd|3257840388504953787}}, taken some time before the release of [[Minecraft:Java Edition Alpha v1.2.2|Alpha v1.2.2]]<ref>{{reddit|iocx6f}}</ref>. It generates most correctly from [[Minecraft:Java Edition Alpha v1.2.0|Alpha v1.2.0]] to [[Minecraft:Java Edition Alpha v1.2.5|Alpha v1.2.5]], but can also be generated up to [[Minecraft:Java Edition Beta 1.7.3|Beta 1.7.3]] with minor population differences. It's also the default seed for ''Bedrock Edition''<nowiki/>'s [[Minecraft:Create New World|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 [[Minecraft:savanna]] biome at coordinates {{cd|Position: -208, 65, 0}}. | ||
* The seed used for the original Herobrine hoax screenshot is {{ | * The seed for the Skull on Fire [[Minecraft:painting]] is either {{cd|-6984854390176336655}} or {{cd|-1044887956651363087}}, generated in [[Minecraft:Java Edition Alpha v1.1.2_01|Alpha v1.1.2_01]] or prior.<ref>{{reddit|iqg3ey}}</ref> | ||
* The seed used for the original Herobrine hoax livestream is {{ | * The seed used for the original [[Minecraft:Herobrine]] hoax screenshot is {{cd|478868574082066804}}, generated in [[Minecraft:Alpha v1.0.16_02]]. | ||
* Seeds used for the Legacy Console Edition tutorial worlds: | * The seed used for the original [[Minecraft:Herobrine]] hoax livestream is {{cd|3609313613745973624}}, generated in [[Minecraft:Alpha v1.0.17_04]]. | ||
** Each world is referred to by its respective Xbox 360 Edition update. | * Seeds used for the [[Minecraft:Legacy Console Edition tutorial]] worlds: | ||
** TU1 and TU3 used the seed {{ | ** Each world is referred to by its respective [[Minecraft:Xbox 360 Edition]] update. | ||
** TU5 used the seed {{ | ** [[Minecraft:Xbox 360 Edition TU1|TU1]] and [[Minecraft:Xbox 360 Edition TU3|TU3]] used the seed {{cd|1171544198849424676}} | ||
** TU7 and TU9 used the seed {{ | ** [[Minecraft:Xbox 360 Edition TU5|TU5]] used the seed {{cd|6173462}} | ||
** TU12 and TU14 used the seed {{ | ** [[Minecraft:Xbox 360 Edition TU7|TU7]] and [[Minecraft:Xbox 360 Edition TU9|TU9]] used the seed {{cd|96414766889474996}} | ||
** TU19, TU31, TU46, and TU69 were artificially-created and can't be generated by any seed. | ** [[Minecraft:Xbox 360 Edition TU12|TU12]] and [[Minecraft:Xbox 360 Edition TU14|TU14]] used the seed {{cd|1227750481513469519}} | ||
** [[Minecraft:Xbox 360 Edition TU19|TU19]], [[Minecraft:Xbox 360 Edition TU31|TU31]], [[Minecraft:Xbox 360 Edition TU46|TU46]], and [[Minecraft:Xbox 360 Edition TU69|TU69]] were artificially-created and can't be generated by any seed. | |||
=== Starter seeds === | |||
{{Main|Title Screen#Starter seeds}} | |||
{{IN|be}}, players opening the game for the first time are offered to quickly create a new world with default settings and predefined seeds. There are currently 42 Survival starter seeds and 6 Creative starter seeds, and 10 Survival starter seeds have been removed: | |||
'''Survival'''{{collapse|content=* <code>-2032795982907864146</code> | |||
* <code>-7649949940957896961</code> | |||
* <code>-115039328491026064</code> | |||
* <code>-7148389242537051542</code> | |||
* <code>5155879575039368840</code> | |||
* <code>2048005618087379093</code> | |||
* <code>2204054850500208009</code> | |||
* <code>31563250179158</code> | |||
* <code>72415961571256213</code> | |||
* <code>-6339824463720481367</code> | |||
* <code>769898142342073932</code> | |||
* <code>1266942</code> | |||
* <code>19439991</code> | |||
* <code>1835543614670145532</code> | |||
* <code>8438280864103146561</code> | |||
* <code>-983983965181981808</code> | |||
* <code>-2965711870629693628</code> | |||
* <code>8804783126757866200</code> | |||
* <code>47192204</code> | |||
* <code>111643445</code> | |||
* <code>69427194527559476</code> | |||
* <code>6252188339817453822</code> | |||
* <code>-8399271073483220130</code> | |||
* <code>16285452119529</code> | |||
* <code>1000367306308321</code> | |||
* <code>1899845621555937036</code> | |||
* <code>60554305524</code> | |||
* <code>18820960</code> | |||
* <code>1545213456444500</code> | |||
* <code>-6646854586427229651</code> | |||
* <code>8008134581819610</code> | |||
* <code>8146707790672235138</code> | |||
* <code>888882903781400170</code> | |||
* <code>8888034329335250</code> | |||
* <code>-6339824463720481367</code> | |||
* <code>-2032795982907864146</code> | |||
* <code>100000019873386049</code> | |||
* <code>-6897082504097952427</code> | |||
* <code>100000061447117197</code> | |||
* <code>888880389127738660</code> | |||
* <code>1143653337750952406</code> | |||
* <code>3536029907932046148</code>}}'''Creative''' | |||
* <code>-5584399987456711267</code> | |||
* <code>-1718501946501227358</code> | |||
* <code>-6113761326748789280</code> | |||
* <code>298649991203052898</code> | |||
* <code>888882903781400170</code> | |||
* <code>7408629636827897200</code> | |||
'''Removed''' | |||
* {{cd|348722287802000751}} | |||
* {{cd|31563252268802}} | |||
* {{cd|651719687612429311}} | |||
* {{cd|-1992192446241627435}} | |||
* {{cd|-9222037139879175104}} | |||
* {{cd|3829878918385877312}} | |||
* {{cd|54566591155505424}} | |||
* {{cd|6390326396262027557}} | |||
* {{cd|7226627000711902118}} | |||
* {{cd|-6574012378133862552}} | |||
=== Generation anomalies === | === Generation anomalies === | ||
| Line 63: | Line 129: | ||
=== Realms === | === Realms === | ||
{{ | {{IN|java}}, a player can type {{cmd|seed}} in the chat. {{IN|bedrock}}, the seed is not visible when playing on Realms, but can be seen by downloading the world. | ||
=== General === | === 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 {{ | If the seed contains characters other than digits (except the first character, which can be "-" or "+") or falls out of range of a Java {{cd|long}} number (an integer between −2<sup>63</sup> and 2<sup>63</sup>−1), the Java <code>String.hashCode()</code> function is used to generate the seed number. This restricts ''Minecraft'' to a subset of the possible worlds to 2<sup>32</sup> (or 4,294,967,296), due to the {{cd|int}} 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 2<sup>64</sup>, or 18,446,744,073,709,551,616, or 18.4 quintillion). | ||
=== 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{{ | 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), [[Minecraft:carver]] caves, and [[Minecraft:Mob spawning|mob spawns]] will generate differently. | ||
==Videos== | ==Videos== | ||
{{ | {{yt|3B3Wgv99wq8}} | ||
{{ | {{yt|CSa5O6knuwI}} | ||
== History == | == History == | ||
{{ | {{info needed section|Were the seeds always 64-bit integers, or they were 32-bit in older (pre-Infdev) versions?}} | ||
{{ | {{needs update|section=true|Bedrock experimental changes}} | ||
=== ''Java Edition'' === | === ''Java Edition'' === | ||
{{HistoryTable | {{HistoryTable | ||
|{{ | |{{HistoryLine|java pre-classic}} | ||
|{{ | |{{HistoryLine||rd-160052|Added a simple level generator.}} | ||
|{{ | |{{HistoryLine|java classic}} | ||
|{{ | |{{HistoryLine||0.0.12a|Added a new level generator.}} | ||
|{{ | |{{HistoryLine||August 25, 2009|link=wordofnotch:170887079|Showed another new level generator, which generates cliffs more commonly.}} | ||
|{{ | |{{HistoryLine|java indev}} | ||
|{{ | |{{HistoryLine||0.31|dev=20091223-1457|Isometric level rendering screenshot added.}} | ||
|{{ | |{{HistoryLine|||dev=20100106-2158|The player can now select island, floating, flat, or original as the level type when generating a world. | ||
|Players can also select square, long, or deep as the level shape. | |Players can also select square, long, or deep as the level shape. | ||
|Players can also select small, normal, or huge as the level size.}} | |Players can also select small, normal, or huge as the level size.}} | ||
|{{ | |{{HistoryLine|||dev=20100107-1851|Deep floating maps now have layers of islands. | ||
|Players can now select a level theme; normal or hell.}} | |Players can now select a level theme; normal or hell.}} | ||
|{{ | |{{HistoryLine|||dev=20100110|Islands now generate with more sand.}} | ||
|{{ | |{{HistoryLine|||dev=20100113-2015|Oceans now generate with infinite water.}} | ||
|{{ | |{{HistoryLine|||dev=20100122-1708|Water now spawns naturally above sea level and on floating islands.}} | ||
|{{ | |{{HistoryLine|||dev=20100122-2251|Caves are now less flooded.}} | ||
|{{ | |{{HistoryLine|java infdev}} | ||
|{{ | |{{HistoryLine||20100227-1414|Terrain-breaking change to world gen: using any given seed on older versions now generates a different world. | ||
|World generation has been greatly simplified (with the removal of sand, blobs) in order to make infinite world generation implementation easier to work with.}} | |World generation has been greatly simplified (with the removal of sand, blobs) in order to make infinite world generation implementation easier to work with.}} | ||
|{{ | |{{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 [[Minecraft:ore (feature)|ore blob]] generation, in which they spawn as scattered, single blocks. | ||
|Reimplemented tree generation.}} | |Reimplemented [[Minecraft: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 [[Minecraft:Java Edition distance effects/Historical effects|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. | ||
|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 random | |Removed [[Minecraft:random patch]]es of flowers. | ||
|The large stone wall at 33,554,432 no longer generates. Instead, the Far Lands generate at 12,550,824.}} | |The large stone wall at 33,554,432 no longer generates. Instead, the [[Minecraft:Far Lands]] generate at 12,550,824.}} | ||
|{{ | |{{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.}} | ||
|{{ | |{{HistoryLine||20100420|Terrain-breaking change to world gen: using any given seed on older versions now generates a different world. | ||
|World generation seems considerably less mountainous.}} | |World generation seems considerably less mountainous.}} | ||
|{{ | |{{HistoryLine||20100608|All trees are now small trees again - big trees do not generate.}} | ||
|{{ | |{{HistoryLine||20100611|Terrain-breaking change to world gen: using any given seed on older versions now generates a different world. | ||
|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. | |[[Minecraft:Monolith|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. | ||
|Coastlines are now more gradual, resulting in smaller "ocean" areas. | |Coastlines are now more gradual, resulting in smaller "ocean" areas. | ||
|Reimplemented caves. | |Reimplemented caves. | ||
|Random patches of flowers and [[Minecraft:mushroom]]s now generate. | |Random patches of flowers and [[Minecraft:mushroom]]s now generate. | ||
| | |[[Minecraft:Spring]]s 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||v1.2.0|dev=preview|Terrain-breaking change to world gen: using any given seed on older versions now generates a different world.}} | ||
|{{ | |{{HistoryLine|java beta}} | ||
|{{HistoryLine||1.3|It is now possible to manually determine the seed upon world creation. | |{{HistoryLine||1.3|It is now possible to manually determine the seed upon world creation. | ||
|Any 64-bit signed integer value can be entered and will create a world with that seed, ''unless'' the number is 0, in which case the world will be created with a random seed as though no seed was provided. | |Any 64-bit signed integer value can be entered and will create a world with that seed, ''unless'' the number is 0, in which case the world will be created with a random seed as though no seed was provided. | ||
|A world with the seed 0 can be created by providing a string that hashes to 0, such as {{ | |A world with the seed 0 can be created by providing a string that hashes to 0, such as {{code|creashaks organzine}} or {{code|pollinating sandboxes}}.<ref>https://www.minecraftforum.net/forums/minecraft-java-edition/seeds/299287-i-was-just-curious-about-seed-0-we-found-it</ref>}} | ||
|{{ | |{{HistoryLine||1.8|dev=Pre-release|Terrain-breaking change to world gen. | ||
|The debug screen now displays the seed number.}} | |The debug screen now displays the seed number.}} | ||
|{{ | |{{HistoryLine|java}} | ||
|{{ | |{{HistoryLine||1.2.1|dev=12w03a|Minor terrain-breaking change to world gen.}} | ||
|{{ | |{{HistoryLine|||dev=12w07a|Seeds can no longer change biomes in existing worlds due to the Anvil file format.}} | ||
|{{ | |{{HistoryLine|||dev=?|Multiplayer servers no longer send the seed to clients.}} | ||
|{{ | |{{HistoryLine||1.3.1|dev=12w18a|Due to singleplayer becoming multiplayer, the world's seed is no longer displayed on the debug screen.}} | ||
|{{HistoryLine|||dev=12w21a|Added {{ | |{{HistoryLine|||dev=12w21a|Added {{cmd|seed}}, which displays the current world seed.}} | ||
|{{ | |{{HistoryLine||1.7.2|dev=13w36a|Terrain-breaking change to world gen with the introduction of many new biomes.}} | ||
|{{ | |{{HistoryLine||1.13|dev=18w06a|World generator rewritten in a mostly non-breaking way.}} | ||
|{{HistoryLine||1.18|dev=1.18 Experimental Snapshot 1|Terrain-breaking change to the world gen with the introduction of multinoise, terrain noise, biome builders, and new caves. | |{{HistoryLine||1.18|dev=1.18 Experimental Snapshot 1|Terrain-breaking change to the world gen with the introduction of multinoise, terrain noise, biome builders, and new caves. | ||
|Seed limit is now 48-bit.<ref name="MC-236650">{{bug|MC-236650}}</ref>}} | |Seed limit is now 48-bit.<ref name="MC-236650">{{bug|MC-236650}}</ref>}} | ||
|{{ | |{{HistoryLine|||dev=1.18 experimental snapshot 2|World generator rewritten in a non-breaking way.}} | ||
|{{ | |{{HistoryLine|||dev=21w41a|Replaced the random number generator used in world generation, which reverted the seed limit back to 64-bit.<ref name="MC-236650"/> | ||
|Seeds have been reshuffled due to this change. Worlds no longer look like they did in previous snapshots.}} | |Seeds have been reshuffled due to this change. Worlds no longer look like they did in previous snapshots.}} | ||
|{{ | |{{HistoryLine|||dev=21w43a|Seeds have been reshuffled again. Worlds no longer look like they did in previous snapshots.}} | ||
|{{ | |{{HistoryLine||1.18.2|dev=22w03a|The seed "0" (zero) can now be used normally; entering it will generate a world with this seed, rather than a random seed. | ||
|Any spaces before or after a provided seed is now trimmed.}} | |Any spaces before or after a provided seed is now trimmed.}} | ||
}} | }} | ||
| Line 155: | Line 221: | ||
=== ''Bedrock Edition'' === | === ''Bedrock Edition'' === | ||
{{HistoryTable | {{HistoryTable | ||
|{{ | |{{HistoryLine|pocket alpha}} | ||
|{{ | |{{HistoryLine||v0.1.0|Added seeds (32 bit).}} | ||
|{{ | |{{HistoryLine||v0.7.2|The seed for each world is now displayed in the [[Minecraft: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.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|bedrock}} | ||
|{{ | |{{HistoryLine||1.18.0|dev=beta 1.18.0.20|Terrain-breaking change to the world gen. Revamp [[Minecraft:Cave]]s, [[Minecraft:Mountains]], and [[Minecraft: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.24|Seeds have been reshuffled again. Worlds no longer look like they did in previous betas.}} | ||
|{{ | |{{HistoryLine||1.18.30|dev=beta 1.18.20.21|Worlds can now be created with 64-bit seeds. | ||
|Single-digit seeds such as "0" can now be used normally.}} | |Single-digit seeds such as "0" can now be used normally.}} | ||
}} | }} | ||
| Line 171: | Line 237: | ||
=== Legacy Console Edition === | === Legacy Console Edition === | ||
{{HistoryTable | {{HistoryTable | ||
|{{ | |{{HistoryLine|legacy console}} | ||
|{{ | |{{HistoryLine||xbox=TU0|xbone=CU1|ps3=1.00|psvita=1.00|ps4=1.00|wiiu=Patch 1|switch=1.0.1|Added seeds (64-bit).}} | ||
|{{ | |{{HistoryLine||xbox=TU3|Added a seed display to the level load screen (requires existing levels to be saved out again to add the display).}} | ||
|{{ | |{{HistoryLine||xbox=TU5|Terrain-breaking change to world gen.}} | ||
|{{ | |{{HistoryLine||xbox=TU12|Minor terrain-breaking change to world gen. Biome info is now saved to worlds instead of recalculated when biome generation changes.}} | ||
|{{ | |{{HistoryLine||xbox=TU31|xbone=CU19|ps3=1.22|psvita=1.22|ps4=1.22|wiiu=Patch 3|Terrain-breaking change to world gen.}} | ||
|{{ | |{{HistoryLine||xbox=TU54|xbone=CU44|ps3=1.52|psvita=1.52|ps4=1.52|wiiu=Patch 24|switch=1.0.4|Added Biome Scale slider and Find Balanced Seed option.}} | ||
}} | }} | ||
=== ''New Nintendo 3DS Edition'' === | === ''New Nintendo 3DS Edition'' === | ||
{{HistoryTable | {{HistoryTable | ||
|{{ | |{{HistoryLine|3ds}} | ||
|{{ | |{{HistoryLine||0.1.0|Added seeds (32 bit).}} | ||
}} | }} | ||
== References == | == References == | ||
{{ | {{Reflist}} | ||
== External links == | == External links == | ||
| Line 204: | Line 270: | ||
== Navigation == | == Navigation == | ||
{{ | {{Navbox Java Edition technical|general}} | ||
{{ | {{Navbox Bedrock Edition}} | ||
cs:Zdroj | [[Minecraft:cs:Zdroj]] | ||
de:Startwert | [[Minecraft:de:Startwert]] | ||
es:Semilla (generación de mundo) | [[Minecraft:es:Semilla (generación de mundo)]] | ||
fr:Graine (génération du monde) | [[Minecraft:fr:Graine (génération du monde)]] | ||
ja:シード値 | [[Minecraft:ja:シード値]] | ||
ko:시드 | [[Minecraft:ko:시드]] | ||
lzh:種(闢世) | [[Minecraft:lzh:種(闢世)]] | ||
nl:Seed (wereldgeneratie) | [[Minecraft:nl:Seed (wereldgeneratie)]] | ||
pl:Ziarno generatora | [[Minecraft:pl:Ziarno generatora]] | ||
pt:Semente de mundo | [[Minecraft:pt:Semente de mundo]] | ||
ru:Ключ генератора мира | [[Minecraft:ru:Ключ генератора мира]] | ||
uk:Зерно | [[Minecraft:uk:Зерно]] | ||
zh:种子(世界生成) | [[Minecraft:zh:种子(世界生成)]] | ||
Revision as of 11:20, 10 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 Minecraft: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 Minecraft: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 Minecraft: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 25 Minecraft: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 Minecraft: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 Minecraft: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 following seeds are used for the Bedrock Edition trial version:
818010429,29300,1395001428,1537846859, and1193926712. - The seeds for many of the Minecraft: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" Minecraft: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 Minecraft:18w22a.
- Java Edition 1.14 uses Template:Cd, taken in Minecraft:18w48a.
- Java Edition 1.15 uses Template:Cd, taken in Minecraft:19w40a.
- Java Edition 1.16 uses Template:Cd, taken in Minecraft:20w13a.
- Java Edition 1.18 uses Template:Cd, taken in Minecraft:21w40a.
- Java Edition 1.19 uses Template:Cd, which is the seed resulting from typing Template:Cd in as a seed, taken in Minecraft:22w15a.
- Java Edition 1.20 uses Template:Cd, taken in Minecraft:23w14a.
- Java Edition 1.21.6 and Bedrock Edition 1.21.90 use Template:Cd, taken in Minecraft: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 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 Minecraft: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 Minecraft:Herobrine hoax screenshot is Template:Cd, generated in Minecraft:Alpha v1.0.16_02.
- The seed used for the original Minecraft:Herobrine hoax livestream is Template:Cd, generated in Minecraft:Alpha v1.0.17_04.
- Seeds used for the Minecraft:Legacy Console Edition tutorial worlds:
- Each world is referred to by its respective Minecraft: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.
Starter seeds
Template:Main Template:IN, players opening the game for the first time are offered to quickly create a new world with default settings and predefined seeds. There are currently 42 Survival starter seeds and 6 Creative starter seeds, and 10 Survival starter seeds have been removed: SurvivalTemplate:CollapseCreative
-5584399987456711267-1718501946501227358-61137613267487892802986499912030528988888829037814001707408629636827897200
Removed
- Template:Cd
- Template:Cd
- Template:Cd
- Template:Cd
- Template:Cd
- Template:Cd
- Template:Cd
- Template:Cd
- Template:Cd
- Template:Cd
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), Minecraft: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
Minecraft:cs:Zdroj Minecraft:de:Startwert Minecraft:es:Semilla (generación de mundo) Minecraft:fr:Graine (génération du monde) Minecraft:ja:シード値 Minecraft:ko:시드 Minecraft:lzh:種(闢世) Minecraft:nl:Seed (wereldgeneratie) Minecraft:pl:Ziarno generatora Minecraft:pt:Semente de mundo Minecraft:ru:Ключ генератора мира Minecraft:uk:Зерно Minecraft:zh:种子(世界生成)