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

Proper world generation #24

Open
3 tasks
ghost opened this issue Aug 1, 2017 · 2 comments
Open
3 tasks

Proper world generation #24

ghost opened this issue Aug 1, 2017 · 2 comments

Comments

@ghost
Copy link

ghost commented Aug 1, 2017

Add a proper world generation API and implement:

  • Flat
  • Normal
  • Random (like, random blocks)
    ...
@ghost ghost added this to the 2.0.0 milestone Aug 1, 2017
@haykam821
Copy link

I’ll work on implementing this. I don’t see a way to make them compatible with the other world generators since those are chunk-based. Should there be a configurable function called with the X, Y, and Z coordinates that returns the block ID to put in that position?

@ghost
Copy link
Author

ghost commented Jun 27, 2020

That's an option, traditionally generators are given a X and Z for the chunk, then it returns the entire 16x16x256 (or whatever the world and chunk size is set to) array of blocks.

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

No branches or pull requests

1 participant