Terrain height setter

This commit is contained in:
paulevsGitch 2021-12-23 05:54:31 +03:00
parent 717c0d7fb8
commit 6d279852f0
2 changed files with 31 additions and 8 deletions

View file

@ -289,6 +289,16 @@ public class BCLBiome {
return this;
}
/**
* Setter for terrain height, can be used in custom terrain generator.
* @param terrainHeight a relative float terrain height value.
* @return same {@link BCLBiome}.
*/
public BCLBiome setTerrainHeight(float terrainHeight) {
this.terrainHeight = terrainHeight;
return this;
}
/**
* Getter for terrain height, can be used in custom terrain generator.
* @return terrain height.