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

How to change the max X and Z values #1

Open
Mister-Ritom opened this issue Jan 11, 2023 · 2 comments
Open

How to change the max X and Z values #1

Mister-Ritom opened this issue Jan 11, 2023 · 2 comments

Comments

@Mister-Ritom
Copy link

Hey I was trying to find where did you define the max X and Y values for world generation. I tried few different things. Can you tell me how can I generate like 10000 blocks world.

@LabyStudio
Copy link
Owner

LabyStudio commented Jan 12, 2023

The X and Z axis are already infinitely but the Y axis can be changed here: World.java#L23 & Chunk.java#L19

You just have to generate some terrain and populate it when creating a chunk like here

@LabyStudio
Copy link
Owner

I created a new branch with the changes: 3503b89

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

No branches or pull requests

2 participants