-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Faster random generator Issue #183
Comments
Current Options:
|
Cannot reproduce, and you should use bug report template to report bugs. |
@HaHaWTH Thanks for the reply. But I can reproduce it. I looked at the code and this looks suspicious.
super(org.dreeam.leaf.config.modules.opt.FastRNG.enabled ? new org.dreeam.leaf.util.math.random.FasterRandomSource(0L) : new LegacyRandomSource(0L)); ↓ super(org.dreeam.leaf.config.modules.opt.FastRNG.worldgenEnabled() ? new org.dreeam.leaf.util.math.random.FasterRandomSource(0L) : new LegacyRandomSource(0L));
Shouldn't it be changed like this? Please check. Thank you. |
This only works when |
I didn't enable it. :o
|
Doesn't this affect seed? Leaf/patches/server/0083-Faster-Random-Generator.patch Lines 32 to 43 in d6b323a
Leaf/patches/server/0083-Faster-Random-Generator.patch Lines 154 to 160 in d6b323a
|
@HaHaWTH It seems to me that not only Slime Seeds but also Structure Seeds are affected by Fast RNG. This issue is not invalid because it was created for a feature request to use legacy RNG for seeds that affect the game, not just slime seeds. |
Structure generation uses WorldgenRandom, which is backed by LegacyRandomSource. Code above is unlikely to cause this problem. |
What feature do you want to see added?
If all chunks within the world border were generated before using the faster-random-generator, the structure will not be found. For example, if I use eyes of ender, the eyes of ender don't work.
I need a configuration that allows me to use legacy random for seeds, like the use-legacy-random-for-slime-chunk option.
The text was updated successfully, but these errors were encountered: