feat(world-gen): scale world height 128->512 and sea level 64->256

This commit is contained in:
MDietermann
2026-06-03 07:46:21 +02:00
parent 2677b1b003
commit 3c7e7a46a3
2 changed files with 5 additions and 5 deletions

View File

@@ -16,8 +16,8 @@ public class WorldGeneratorTests
{
var blocks = Blocks;
var biomes = new BiomeRegistry(1, blocks);
ushort id = WorldGenerator.BlockAt(80, surfaceHeight: 70, biomes.Plains, blocks);
Assert.Equal(blocks.Air.Id, id); // 80 > 70 and 80 > SeaLevel(64)
ushort id = WorldGenerator.BlockAt(300, surfaceHeight: 290, biomes.Plains, blocks);
Assert.Equal(blocks.Air.Id, id); // 300 > 290 (above surface) and 300 > SeaLevel(256)
}
[Fact]