Change chunk size

This commit is contained in:
mooziii
2022-02-19 11:48:31 +01:00
parent 6fc08cbbee
commit 32dc012d2e

View File

@@ -18,7 +18,7 @@ val Location.worldOrException: World
*/ */
val Chunk.allBlocks val Chunk.allBlocks
get() = LinkedHashSet<Block>().apply { get() = LinkedHashSet<Block>().apply {
for (y in 0 until 256) { for (y in -64 until 320) {
for (x in 0 until 16) for (x in 0 until 16)
for (z in 0 until 16) for (z in 0 until 16)
add(getBlock(x, y, z)) add(getBlock(x, y, z))