Refactor some biome stuff

This commit is contained in:
dfsek
2020-11-13 23:34:34 -07:00
parent b3dac9f37e
commit bfd57e38d8
17 changed files with 24 additions and 19 deletions

View File

@@ -40,7 +40,7 @@ public class BiomeZone {
* @param z Z coordinate
* @return BiomeGrid at coordinates.
*/
protected BiomeGrid getGrid(int x, int z) {
public BiomeGrid getGrid(int x, int z) {
return grids[NormalizationUtil.normalize(useImage ? Objects.requireNonNull(imageLoader).getNoiseVal(x, z, channel) : noise.getNoise(x, z), grids.length, 4)];
}