Uploaded image for project: 'Minecraft (Bedrock codebase)'
  1. Minecraft (Bedrock codebase)
  2. MCPE-154939

Structure and decorator locations, shape and loot generation only use lower 32 bits of 64-bit seed.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.18.32, 1.18.31, 1.19.30, 1.19.41, 1.20.12 Hotfix, 1.20.15 Hotfix, 1.20.30, 1.21.1 Hotfix
    • Confirmed
    • Multiple
    • 776432

      If I create a world with any seed, then find a structure (something that can be found with /locate structure) or decorator (something that you can't find with /locate) and then create another world with the number 4294967296 (2^32) added to the seed of the original world, then the structure and decorator locations will have the exact same x and z coordinates, the y coordinate of the mineschaft is also affected, but it is possible that the y coordinate of the ruined portals and decorators are not affected. Even the shape of the structure and the loot in the chests are the same, but not necessarily the enchantments. 

       

      Steps to reproduce:

      1. Create a world.
      2. Find a structure or decorator
      3. Remember the coordinates of its location.
      4. Create another world with the seed of the original world + the number 4294967296 added to it.
      5. Go to the coordinates of the structure or decorator in the other world.

      Observed results:

      The same feature is in the same location. Even the shape of the structure and the loot are the same, but the enchantments possibly aren't.

      Also, if you find an amethyst geode, the shape of the geode and the positions of the budded amethyst blocks are identical.

      Lava pools are also identical. 

      Villages generate in the same locations in worlds with seeds differing with 2^32 as long as there is the right biome. If one of the villages is abandoned, then the other one will be too. The shape of the village depends on the biome. 

      Ores sometimes generate identically, sometimes just the shape of them is the same and sometimes they are different. 

      Dungeons are affected to some extent. 

      It is likely that other things that I didn't list  are affected

      Expected results: 

      All elements of a world should be unique for all 2^64 seeds. 

       

      Notes: Ruined portals and mineshafts are easier to test, because they generate in every biome. The same glitch affects some caves, decorators (features), the nether and the end. MCPE-154333 , MCPE-155137, MCPE-154947, MCPE-156090

        1. (2)Redstone seed 10+2^32.jpg
          (2)Redstone seed 10+2^32.jpg
          703 kB
        2. Abandoned village seed 10.jpg
          Abandoned village seed 10.jpg
          1.44 MB
        3. Abandoned village seed 10+2^32.jpg
          Abandoned village seed 10+2^32.jpg
          1.20 MB
        4. Diamonds and gravel seed 10.jpg
          Diamonds and gravel seed 10.jpg
          824 kB
        5. Diamonds and gravel seed 10+2^32.jpg
          Diamonds and gravel seed 10+2^32.jpg
          936 kB
        6. Diamonds and redstone 10+2^32.jpg
          Diamonds and redstone 10+2^32.jpg
          1.13 MB
        7. Diamonds and Redstone seed 10.jpg
          Diamonds and Redstone seed 10.jpg
          1.18 MB
        8. glitch1 .jpg
          glitch1 .jpg
          667 kB
        9. glitch2.jpg
          glitch2.jpg
          658 kB
        10. glitch3 .jpg
          glitch3 .jpg
          106 kB
        11. glitch4 .jpg
          glitch4 .jpg
          140 kB
        12. glitch5.jpg
          glitch5.jpg
          144 kB
        13. glitch6.jpg
          glitch6.jpg
          651 kB
        14. glitch7 .jpg
          glitch7 .jpg
          541 kB
        15. glitch8.jpg
          glitch8.jpg
          92 kB
        16. No redstone seed 10.jpg
          No redstone seed 10.jpg
          776 kB
        17. Redstone seed 10.jpg
          Redstone seed 10.jpg
          969 kB
        18. Redstone seed 10+2^32.jpg
          Redstone seed 10+2^32.jpg
          943 kB
        19. Regular village seed 10.jpg
          Regular village seed 10.jpg
          978 kB
        20. Regular village seed 10+2^32.jpg
          Regular village seed 10+2^32.jpg
          1.07 MB

            Hotcoco-cat Hotcoco-cat
            Votes:
            12 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              CHK: