Merge pull request #815 from MihailRis/new-base-generator

add base:flat_grass world generator
This commit is contained in:
MihailRis 2026-03-17 12:18:24 +03:00 • committed by GitHub
commit dc654aafff
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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