-
Notifications
You must be signed in to change notification settings - Fork 0
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
Cave generation has edges on chunk borders #28
Comments
Are you sure this isn't an issue with vanilla Minecraft? |
You can try disabling all of my random optimizations in the config (look on the Github wiki for how to do that). If that fixes the issue, then that would be the issue. |
I found this issue and just wanted to say that using ThreadLocalRandom for all this stuff is not a good idea. The old method of Faster Random that you've based the idea off of is kind of a mess thrown together in an hour, and I really don't suggest using the same method. It's only 100X faster in a few cases on some hardware, and breaks parity. I also don't really understand the purpose of some of the things this mod does? I feel like if someone wanted the most performance possible, they'd make sure to have a JVM that supports the generator used by Faster Random, which kinda invalidates the need to use the slower ThreadLocalRandom in your mod. (yes, I'm saying that you shouldn't reinvent the wheel) I personally wouldn't recommend having to fight ThreadLocalRandom, and I suggest that you either drop it, or switch to a better random system. |
According to this user, the same thing happens in Faster Random with chunk borders. I will always prioritize using Faster Random over my code. All of my random optimizations get disabled if Faster Random is present. |
Additionally Potatoptimize is in the state where many “optimizations” need to be purged as they either don’t apply anymore, they can be replaced by a separate mod (like this one), or they are broken and shouldn’t be used (or put into the unstable category). Potatoptimize also doesn’t aim to maintain parity with vanilla. It tries not to enable things by default that would deviate too much from vanilla, but exact parity is not likely to be maintained. |
potatoptimize-0.0.1.jar (Potatoptimize Really Early Dev Build 2 (1.20.4))
fabric-api-0.97.1+1.20.4.jar
fabric-loader-0.15.11-1.20.4
Some surface caves/lakes have harsh edges on chunk borders, this doesn't always happen for the same seed in the same place every time. It's probably caused by the RNG because it also happens in Faster Random
Seed: -4840956288898345415
The text was updated successfully, but these errors were encountered: