Increased cache size.
This commit is contained in:
parent
2b05dfe4cc
commit
b769c83be1
@ -28,7 +28,7 @@ public class IslandWorldMapper implements CoordinateValidatable {
|
||||
dfs = new DepthFirstSearch(this);
|
||||
this.noiseGenerator = new SimplexOctaveGenerator(random, noiseOctaves);
|
||||
noiseGenerator.setScale(scale);
|
||||
blockValueCache = new Cache<>(32768);
|
||||
blockValueCache = new Cache<>(65536);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -32,8 +32,8 @@ public class BiomePerIslandGenerator implements IslandBiomeGenerator {
|
||||
|
||||
public BiomePerIslandGenerator() {
|
||||
this.temperatureMapGenerator = new TemperatureMapGenerator();
|
||||
chunkBiomesCache = new Cache<>(512);
|
||||
chunkGenStatusCache = new Cache<>(512);
|
||||
chunkBiomesCache = new Cache<>(1024);
|
||||
chunkGenStatusCache = new Cache<>(1024);
|
||||
freshCachePropInfo = new FreshCachePropagationInfo();
|
||||
freshCachePropagator = new DepthFirstSearch(freshCachePropInfo);
|
||||
existenceInfo = new PreviousGenerationInfo();
|
||||
|
Loading…
Reference in New Issue
Block a user