mirror of
https://github.com/zhenyan121/Cubed.git
synced 2026-06-18 00:27:02 +08:00
feat(gameplay): add Ocean biome with water generation and heightmap adjustments
- Introduce Ocean biome enum, builder, and detection logic. - Add ocean water building to all existing biomes and modify heightmap thresholds for low mountainous areas. - Skip cave and river generation in Ocean (and River) biomes; avoid carving water blocks. - Comment out border blending call and update block fill logic.
This commit is contained in:
@@ -32,6 +32,7 @@ void ForestBuilder::build_blocks() {
|
||||
m_blocks[Chunk::index(x, height, z)] = 1;
|
||||
}
|
||||
}
|
||||
ocean_water_build();
|
||||
}
|
||||
|
||||
void ForestBuilder::build_vegetation() {
|
||||
|
||||
Reference in New Issue
Block a user