java-minecraft
java-minecraft copied to clipboard
How to change the max X and Z values
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.
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
I created a new branch with the changes: https://github.com/LabyStudio/java-minecraft/commit/3503b89a1fea00e8f3cbd642c320eddd6c1a5fd5