properly implement caching getColumn

This commit is contained in:
dfsek
2022-06-11 21:16:46 -07:00
parent db61729e11
commit 1aa0c715b9
3 changed files with 8 additions and 8 deletions
@@ -106,8 +106,8 @@ public class BiomePipelineProvider implements BiomeProvider {
}
@Override
public Column<Biome> getColumn(int x, int z, WorldProperties properties) {
return new BiomePipelineColumn(this, properties.getMinHeight(), properties.getMaxHeight(), x, z, properties.getSeed());
public Column<Biome> getColumn(int x, int z, long seed, int min, int max) {
return new BiomePipelineColumn(this, min, max, x, z, seed);
}
private record SeededVector(int x, int z, long seed) {