Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-239247

The order in which features are generated is not consistent

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 21w41a
    • None
    • Unconfirmed
    • (Unassigned)

      When generating a world, and then generating another world, both will have a different order in which features are generated, leading to the second parameter of "WorldgenRandom.setFeatureSeed()" for the same features to be different. This causes variance in how features are generated, even on the same seed. I observed this while reversing the parameters to setFeatureSeed() on trees that generated in-game, and the second parameter would vary with the same world seed, and chunk.

      This leads to the feature seed of the same feature being different even at the same chunk on the same world seed, but due to how the seeding works, the first "WorldgenRandom.nextFloat()" using "LegacyRandomSource" as the underlying PRNG will often have a similar value, even with the second parameter to setFeatureSeed() being different. This can lead to the chance decorator having a similar outcome (e.g, Trees in a Plains biome will often spawn in the same chunk), but the rest of the feature will be different.

      I think this is a broader issue that encompasses other bug reports of specific features or parts of generation being different on the same world seed.

            Unassigned Unassigned
            MrSpike__ MrSpike
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: