Fixed cave biome identity

- Missing cave biome identities use the column surface biome
- Capture tests cover omitted caves, configured caves, and invalid surface keys
- Runtime scope tests retain keyed cave biome fixtures
This commit is contained in:
Brian Neumann-Fopiano committed 2026-09-05 21:18:05 -04:00
1 parent f8cbbde683
commit 3a0e4557b7
3 files changed
+93 -1

No files matched your search

@@ -331,7 +331,8 @@ public interface Engine extends DataProvider, Fallible, BlockUpdater, Renderer,
@BlockCoordinates
default IrisBiome getCaveBiome(int x, int z) {
return getComplex().getCaveBiomeStream().get(x, z);
IrisBiome biome = getComplex().getCaveBiomeStream().get(x, z);
return biome == null || biome.getLoadKey() == null ? getSurfaceBiome(x, z) : biome;
}
@BlockCoordinates