Finalize commands, add to GUI

This commit is contained in:
dfsek
2020-10-01 02:47:30 -07:00
parent f7f98b6dcc
commit efd52a2002
6 changed files with 64 additions and 19 deletions

View File

@@ -43,6 +43,10 @@ public class BiomeZone {
return grids[NormalizationUtil.normalize(useImage ? Objects.requireNonNull(imageLoader).getNoiseVal(x, z, channel) : noise.getNoise(x, z), grids.length)];
}
public int getSize() {
return grids.length;
}
public int getNoise(int x, int z) {
return NormalizationUtil.normalize(useImage ? Objects.requireNonNull(imageLoader).getNoiseVal(x, z, channel) : noise.getNoise(x, z), grids.length);
}