mirror of
https://github.com/Cubitect/cubiomes.git
synced 2025-09-22 11:04:57 -04:00
Better height estimation for 1.18+
This commit is contained in:
parent
47b45a33f2
commit
49658d7100
@ -557,7 +557,7 @@ int mapApproxHeight(int *y, int *ids, const Generator *g, const SurfaceNoise *sn
|
||||
int id = sampleBiomeNoise(&g->bn, np, x+i, 0, z+j, 0, flags);
|
||||
if (ids)
|
||||
ids[j*w+i] = id;
|
||||
y[j*w+i] = (np[NP_DEPTH] + 64) / 128 + 25;
|
||||
y[j*w+i] = np[NP_DEPTH] / 76;
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user