implement SamplerCache for drastically increased structure perf

This commit is contained in:
dfsek committed 2021-01-03 13:24:17 -07:00
1 parent fed24920f8
commit 315230af27
10 files changed
+44 -27

No files matched your search

@@ -76,7 +76,7 @@ public class FabricChunkGeneratorWrapper extends ChunkGenerator implements Gener
super(biomeSource, new StructuresConfig(false));
this.pack = configPack;
this.delegate = new MasterChunkGenerator(configPack, TerraFabricPlugin.getInstance());
this.delegate = new MasterChunkGenerator(configPack, TerraFabricPlugin.getInstance(), pack.getSamplerCache());
delegate.getMain().getLogger().info("Loading world...");
this.biomeSource = biomeSource;