mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-10-28 06:50:02 +00:00
properly implement caching getColumn
This commit is contained in:
1 parent
db61729e11
commit
1aa0c715b9
3 files changed
+8
-8
No files matched your search
+2
-2
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user