Column biome fallback

- Column biome hunk takes its fallback biome from the caller
- The fallback resolves on first unset read
- Bukkit chunk generator supplies plains
- Core keeps no new Bukkit coupling
This commit is contained in:
Brian Neumann-Fopiano committed 2026-09-29 01:12:16 -04:00
1 parent 08ffb96680
commit b7626ab23f
3 files changed
+16 -11

No files matched your search

@@ -121,7 +121,7 @@ public class LinkedTerrainChunkTest {
for (int trial = 0; trial < 12; trial++) {
Random random = new Random(9127L + trial);
TerrainChunkBiomeHunkView expected = new TerrainChunkBiomeHunkView(chunk());
ColumnBiomeHunk actual = new ColumnBiomeHunk(16);
ColumnBiomeHunk actual = new ColumnBiomeHunk(16, () -> plains);
int operations = 1 + random.nextInt(80);
for (int operation = 0; operation < operations; operation++) {
NativeBiome biome = palette[random.nextInt(palette.length)];