mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-10-27 06:20:02 +00:00
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:
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
|
||||
|
||||
Reference in new issue
Block a user