CaveBiomes: a biome's minimum cave depth depends on the world and the biome only, so the host asks once per biome and keeps it

This commit is contained in:
piexel committed 2026-10-10 14:46:16 +02:00
1 parent b39c750e26
commit f99dbc6344
2 files changed
+3 -2

No files matched your search

@@ -21,7 +21,8 @@ public interface CaveBiomes {
/**
* How many blocks below the surface a position must lie for the pack biome {@code biomeKey} to be the cave biome there;
* nearer the surface the surface's biome is. 0 for a biome that has no such limit.
* nearer the surface the surface's biome is. 0 for a biome that has no such limit. The answer depends on the world and the
* biome only: the host asks once per biome and keeps it while the world runs.
*/
int minDepthBelowSurface(PackWorld world, String biomeKey);
}