mojira.dev
MC-239247

The order in which features are generated is not consistent

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.

Comments

anthony cicinelli

Thank you for your report!
We're tracking this issue in MC-238073, so this ticket is being resolved and linked as a duplicate.

If you would like to add a vote and any extra information to the main ticket it would be appreciated.

If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

migrated

(Unassigned)

Unconfirmed

(Unassigned)

21w41a

Retrieved