add generator layers

This commit is contained in:
MihailRis
2024-08-17 18:11:52 +03:00
parent 30925df319
commit 2a767a3638
7 changed files with 125 additions and 14 deletions
+7
View File
@@ -1,3 +1,10 @@
layers = {
{block="base:grass_block", height=1},
{block="base:dirt", height=1},
{block="base:stone", height=-1},
{block="base:bazalt", height=1},
}
function generate_heightmap(x, y, w, h)
local umap = Heightmap(w, h)
local vmap = Heightmap(w, h)