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