add base:flat_grass world generator

This commit is contained in:
MihailRis 2026-03-15 21:01:54 +03:00
parent 35d2ea4c86
commit afac85f7ae
3 changed files with 17 additions and 0 deletions

View file

@ -0,0 +1,11 @@
[flat]
parameters = []
layers = [
{height=1, block="base:grass_block"},
{height=5, block="base:dirt"},
{height=-1, block="base:stone"},
{height=1, block="base:bazalt"}
]
sea-layers = [
{height=-1, block="base:grass_block"}
]

View file

@ -0,0 +1,5 @@
function generate_heightmap(x, y, w, h, s, inputs)
local map = Heightmap(w, h)
map:add(0.1)
return map
end

View file

@ -0,0 +1 @@
biome-parameters = 0