World generation feels more natural now.
Mountain tips after a certain height is stone. Deep ocean biomes are now actually deeper. Temperature map no longer calculates in groups of 4.
This commit is contained in:
@@ -3,7 +3,6 @@ package ca.recrown.islandsurvivalcraft.world.generation;
|
||||
import static org.junit.jupiter.api.Assertions.assertFalse;
|
||||
|
||||
import java.util.LinkedList;
|
||||
import java.util.Random;
|
||||
import java.util.concurrent.ExecutionException;
|
||||
import java.util.concurrent.ExecutorService;
|
||||
import java.util.concurrent.Executors;
|
||||
@@ -33,7 +32,6 @@ public class UniBiomeIslandGeneratorTest {
|
||||
private volatile Cache<Point2, Biome[]> biomeCache;
|
||||
private volatile Cache<Point2, Boolean> chunkExistenceCache;
|
||||
private final BiomeSelector biomeSelector = new BiomeSelector();
|
||||
private final Random random = new Random(SEED);
|
||||
|
||||
|
||||
private class BiomeGenTask implements Runnable {
|
||||
@@ -63,7 +61,7 @@ public class UniBiomeIslandGeneratorTest {
|
||||
for (int localZ = 0; localZ < Utilities.CHUNK_SIZE; localZ++) {
|
||||
if (biomes[localX][localZ] == null) {
|
||||
biomeGenerator.generateBiomeColumn(biomes, dummyWorld, chunkX, chunkZ, localX, localZ, mapper,
|
||||
biomeSelector, temperatureMapGenerator, biomeCache, chunkExistenceCache, random);
|
||||
biomeSelector, temperatureMapGenerator, biomeCache, chunkExistenceCache, SEED);
|
||||
}
|
||||
if (biomes[localX][localZ] == null)
|
||||
throw new IllegalStateException("Biome was null.");
|
||||
|
Reference in New Issue
Block a user