Minecraft:Anomalous world seeds: Difference between revisions
More actions
imported>MeowMeow123 →Repetition: the chances of someone finding this comment are about as high as the chances of a person buying the marketplace pass |
Remove broken links to missing pages |
||
| Line 4: | Line 4: | ||
== Diagonal feature repetition == | == Diagonal feature repetition == | ||
{{info needed section|Why does in earlier Java Edition versions, did only the first of each seed list in Matthew's video<ref name="Bolan1">{{ytl|UtNXUMrSIxQ|This Minecraft Seed Makes Everything Repeat|Matthew Bolan|January 5, 2020}}</ref> seem to actually work?}} | {{info needed section|Why does in earlier Java Edition versions, did only the first of each seed list in Matthew's video<ref name="Bolan1">{{ytl|UtNXUMrSIxQ|This Minecraft Seed Makes Everything Repeat|Matthew Bolan|January 5, 2020}}</ref> seem to actually work?}} | ||
[[File:Endlesscanyon wideangle.png|thumb|Seed 1669320484 in [[Bedrock Edition]], with repeating | [[File:Endlesscanyon wideangle.png|thumb|Seed 1669320484 in [[Bedrock Edition]], with repeating canyons. The coordinates of this screenshot are -1265, 300, 0.]] | ||
It is possible for feature generation, specifically that which governs objects such as trees, ores, lakes and other similar minor structures, to repeat diagonally if certain values happen to equal each other or one to equal the other's negative.<ref name="Bolan1">{{ytl|UtNXUMrSIxQ|This Minecraft Seed Makes Everything Repeat|Matthew Bolan|January 5, 2020}}</ref> For example, {{in|JE}} before 1.18, the seed {{code|102496288339226}} will cause features to repeat along the positive-positive diagonal, and the seed {{code|74811678275130}} will cause them to repeat along the positive-negative diagonal. Prior to | It is possible for feature generation, specifically that which governs objects such as trees, ores, lakes and other similar minor structures, to repeat diagonally if certain values happen to equal each other or one to equal the other's negative.<ref name="Bolan1">{{ytl|UtNXUMrSIxQ|This Minecraft Seed Makes Everything Repeat|Matthew Bolan|January 5, 2020}}</ref> For example, {{in|JE}} before 1.18, the seed {{code|102496288339226}} will cause features to repeat along the positive-positive diagonal, and the seed {{code|74811678275130}} will cause them to repeat along the positive-negative diagonal. Prior to Java Edition Beta 1.8, [[Minecraft:cave]]s were also affected by this diagonal repetition. | ||
What appears to be the exact same effect can be seen {{in|BE}} with different seeds. The seeds {{code|1669320484}} and {{code|289849025}}, for example, cause trees, monster rooms, amethyst geodes and world decorations to repeat on the positive-negative diagonal.<ref name="bedrockrepeat">{{bug|MCPE-95011}}</ref> It is not known if there are any seeds that cause repetition on the positive-positive diagonal. | What appears to be the exact same effect can be seen {{in|BE}} with different seeds. The seeds {{code|1669320484}} and {{code|289849025}}, for example, cause trees, monster rooms, amethyst geodes and world decorations to repeat on the positive-negative diagonal.<ref name="bedrockrepeat">{{bug|MCPE-95011}}</ref> It is not known if there are any seeds that cause repetition on the positive-positive diagonal. | ||
| Line 12: | Line 12: | ||
{{exclusive|java|section=1}} | {{exclusive|java|section=1}} | ||
[[File:Duplicate Caves.png|thumb|Seed 164311266871034 in spectator mode. Caves are repetitive along the Z axis.]] | [[File:Duplicate Caves.png|thumb|Seed 164311266871034 in spectator mode. Caves are repetitive along the Z axis.]] | ||
Java's built-in Math.random() function will output a pseudorandom value for any given input value; it is possible for this output value to be 0, just as any other number.<ref>https://stackoverflow.com/questions/3065554/can-javas-random-function-be-zero</ref> In such a case, certain types of population data for adjacent chunks will be changed by zero (i.e. unchanged), resulting in affected structures generating identically in adjacent chunks.<ref>{{bug|MC-111378||Math error (random generation of zero) causing map gen to fail|Won't Fix}}</ref> The structures primarily affected by this are | Java's built-in Math.random() function will output a pseudorandom value for any given input value; it is possible for this output value to be 0, just as any other number.<ref>https://stackoverflow.com/questions/3065554/can-javas-random-function-be-zero</ref> In such a case, certain types of population data for adjacent chunks will be changed by zero (i.e. unchanged), resulting in affected structures generating identically in adjacent chunks.<ref>{{bug|MC-111378||Math error (random generation of zero) causing map gen to fail|Won't Fix}}</ref> The structures primarily affected by this are carvers (caves, canyons, underwater caves and underwater canyons) and mineshafts. Certain aspects of feature placement, such as water lakes, also appear to suffer placement affected to a much more minor extent, which is most pronounced in controlled environments such as superflat worlds with features enabled.{{info needed|investigate this further}} | ||
{{code|Random.nextDouble()}} will return a value of {{code|0}} on the first call if the provided value is {{code|107038380838084}}, on the second call if the value is {{code|164311266871034}}, and on the third call if the value is {{code|240144965573432}}. | {{code|Random.nextDouble()}} will return a value of {{code|0}} on the first call if the provided value is {{code|107038380838084}}, on the second call if the value is {{code|164311266871034}}, and on the third call if the value is {{code|240144965573432}}. | ||
| Line 23: | Line 23: | ||
* {{code|107038380838082}} causes canyons to repeat; carver caves appear to be unaffected | * {{code|107038380838082}} causes canyons to repeat; carver caves appear to be unaffected | ||
In general, if a | In general, if a data pack is used to add new carvers to generation, each carver type will have its own salt. | ||
=== Integer overflow and higher periods === | === Integer overflow and higher periods === | ||
| Line 41: | Line 41: | ||
=== Unused bits === | === Unused bits === | ||
In [[Minecraft:Java Edition]] before 1.18, the shapes of the biomes were generated using only the upper 24 bits of the world seed. Additionally, caves and | In [[Minecraft:Java Edition]] before 1.18, the shapes of the biomes were generated using only the upper 24 bits of the world seed. Additionally, caves and badlands terracotta patterns only use the upper 48 bits of the world seed. | ||
== General information == | == General information == | ||
Revision as of 15:19, 9 April 2026
Template:Wip Certain Minecraft:world seeds are known for producing unexpected results when used for generating worlds, often due to interacting with random number generators in certain ways.
Diagonal feature repetition
It is possible for feature generation, specifically that which governs objects such as trees, ores, lakes and other similar minor structures, to repeat diagonally if certain values happen to equal each other or one to equal the other's negative.<ref name="Bolan1">Template:Ytl</ref> For example, Template:In before 1.18, the seed Template:Code will cause features to repeat along the positive-positive diagonal, and the seed Template:Code will cause them to repeat along the positive-negative diagonal. Prior to Java Edition Beta 1.8, Minecraft:caves were also affected by this diagonal repetition.
What appears to be the exact same effect can be seen Template:In with different seeds. The seeds Template:Code and Template:Code, for example, cause trees, monster rooms, amethyst geodes and world decorations to repeat on the positive-negative diagonal.<ref name="bedrockrepeat">Template:Bug</ref> It is not known if there are any seeds that cause repetition on the positive-positive diagonal.
Zero as output from pRNG function
Java's built-in Math.random() function will output a pseudorandom value for any given input value; it is possible for this output value to be 0, just as any other number.<ref>https://stackoverflow.com/questions/3065554/can-javas-random-function-be-zero</ref> In such a case, certain types of population data for adjacent chunks will be changed by zero (i.e. unchanged), resulting in affected structures generating identically in adjacent chunks.<ref>Template:Bug</ref> The structures primarily affected by this are carvers (caves, canyons, underwater caves and underwater canyons) and mineshafts. Certain aspects of feature placement, such as water lakes, also appear to suffer placement affected to a much more minor extent, which is most pronounced in controlled environments such as superflat worlds with features enabled.Template:Info needed
Template:Code will return a value of Template:Code on the first call if the provided value is Template:Code, on the second call if the value is Template:Code, and on the third call if the value is Template:Code.
- In vanilla, the seed Template:Code will cause affected structures to repeat every chunk on the X-axis, and the seed Template:Code will cause affected structures to repeat every chunk on the Z-axis. The seed Template:Code does not appear to have any effects.
- When using certain mods such as Tall Worlds or OpenCubicChunks which institute a three-dimensional chunk system, the seed Template:Code will cause affected structures to repeat every chunk on the X-axis, and the seed Template:Code will cause affected structures to repeat every chunk on the Y-axis, and the seed Template:Code will cause affected structures to repeat every chunk on the Z-axis.
Certain carvers, for unknown reasons, use a salt of either -1 or -2 when generating. As a result, not all carver types will repeat in one given world. If we take the X-axis seed as an example:
- Template:Code causes some carver caves to repeat, most often those near the surface
- Template:Code generally causes deeper underground carver caves to repeat
- Template:Code causes canyons to repeat; carver caves appear to be unaffected
In general, if a data pack is used to add new carvers to generation, each carver type will have its own salt.
Integer overflow and higher periods
Non-orthogonal mineshaft repetition
Possible BE biome color corruption
Shadow seeds
It is possible for different seeds to share major generational characteristics with other seeds through certain mechanisms.
Biome shadow seeds
In Java Edition before 1.18, by adding the constant -7379792620528906219 (in calculation) to the world seed, it was possible to obtain a "shadow seed". In this seed, biome arrangements were identical to the ones of the original seed, but locations of features (caves, hills) and generated structures (villages, temples, etc.) were different in the new seed.
Unused bits
In Minecraft:Java Edition before 1.18, the shapes of the biomes were generated using only the upper 24 bits of the world seed. Additionally, caves and badlands terracotta patterns only use the upper 48 bits of the world seed.
General information
Generation quirks
Through certain seeds, it is possible to observe interesting effects.
Changing terrain without changing some structures
Only certain sections of the seed are used to generate specific features within the world. It is possible to generate multiple worlds with identical cave systems, Nether biomes and other arrangements of generated structures simply by converting the seed into binary and tweaking the desired bits.<ref>https://www.minecraftforum.net/forums/minecraft-java-edition/seeds/2229720-can-two-different-seeds-produce-identical-worlds</ref> An example is the seed generator using only the first 48 bits to generate cave systems and badlands clay banding layers.
Any seed calculated as Template:Code also generate maps with repeating features.
Repetition
Template:IN, Mineshaft generation repeats vertically in the seeds Template:Code and Template:Code.Template:More information needed