Skip to content
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

Flora/tree generation doesn't work on chunk border #134

Closed
Unarelith opened this issue Jul 2, 2020 · 0 comments
Closed

Flora/tree generation doesn't work on chunk border #134

Unarelith opened this issue Jul 2, 2020 · 0 comments
Labels

Comments

@Unarelith
Copy link
Owner

Let's say we have two chunks A and B and A is on top of B.

If B loads first, A will be able to know what blocks are in the top of B to spawn (or not) trees and flora.
If A loads first, it won't be able to know B blocks, so it won't generate trees and flora.

A potential solution for this problem would be to process flora/tree generation when placing the top block, instead of looking for a top block while in the air.

The problem was here since a long time, but is now very visible since chunks are cubic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant