Terrain height setter
This commit is contained in:
parent
717c0d7fb8
commit
6d279852f0
2 changed files with 31 additions and 8 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue