|
@@ -27,7 +27,10 @@ static func flat(chunk_position: Vector3i) -> Dictionary:
|
|
|
|
|
|
for x in Chunk.CHUNK_SIZE:
|
|
for x in Chunk.CHUNK_SIZE:
|
|
for z in Chunk.CHUNK_SIZE:
|
|
for z in Chunk.CHUNK_SIZE:
|
|
- data[Vector3i(x, 0, z)] = 3
|
|
|
|
|
|
+ data[Vector3i(x, 2, z)] = 3 # Grass.
|
|
|
|
+ data[Vector3i(x, 1, z)] = 2 # Dirt.
|
|
|
|
+ data[Vector3i(x, 0, z)] = 2 # Dirt.
|
|
|
|
+ data[Vector3i(x, -1, z)] = 9 # Bedrock (can't be destroyed due to its Y coordinate).
|
|
|
|
|
|
return data
|
|
return data
|
|
|
|
|