Math error (random generation of zero) causing map gen to fail
There is a math error in MapGenBase.java (MCP Name) in the generate function.
When the per chunk seeds are being generated there is a very small chance that either the x or z can be equal to 0.
When doing the per chunk math it multiplies by 0 causing every chunk in the axis to be the same.
The following seeds are affected:
107038380838084 164311266871034
There needs to be a check so that if those values are 0, then it should be set to 1.
I have recorded a video demonstrating this, including a fix:
https://www.youtube.com/watch?v=D5c-DZA2R2U&feature=youtu.be
2016-12-14, 01:14 AM
2023-05-02, 12:29 PM
2020-09-25, 10:13 AM
27
20
map-generation-error, random, seed, world-generation
Minecraft 1.11 - 1.16.2
Minecraft 1.11, Minecraft 16w50a, Minecraft 1.11.2, Minecraft 17w06a, Minecraft 1.12 Pre-Release 5, Minecraft 1.12, Minecraft 1.12.2, Minecraft 17w50a, Minecraft 18w08a, Minecraft 18w09a, Minecraft 18w16a, Minecraft 1.13.1, 1.14.4, 19w41a, 19w46a, 1.15 Pre-release 3, 1.15.2, 20w07a, 20w14a, 20w17a, 20w21a, 1.16 Release Candidate 1, 1.16, 20w27a, 20w29a, 1.16.2
-