BCL Biome terrain height (for the End terrain generator)
This commit is contained in:
parent
4e1ec1a148
commit
97ba6b4df1
2 changed files with 21 additions and 10 deletions
|
@ -63,7 +63,7 @@ public class BCLBiomeDef {
|
|||
private int fogColor = 10518688;
|
||||
private int skyColor = 0;
|
||||
private float fogDensity = 1F;
|
||||
private float depth = 0.1F;
|
||||
private float terrainHeight = 0.1F;
|
||||
|
||||
private Precipitation precipitation = Precipitation.NONE;
|
||||
private BiomeCategory category = BiomeCategory.NONE;
|
||||
|
@ -165,8 +165,8 @@ public class BCLBiomeDef {
|
|||
return this;
|
||||
}
|
||||
|
||||
public BCLBiomeDef setDepth(float depth) {
|
||||
this.depth = depth;
|
||||
public BCLBiomeDef setTerrainHeight(float terrainHeight) {
|
||||
this.terrainHeight = terrainHeight;
|
||||
return this;
|
||||
}
|
||||
|
||||
|
@ -361,6 +361,10 @@ public class BCLBiomeDef {
|
|||
.build();
|
||||
}
|
||||
|
||||
public float getTerrainHeight() {
|
||||
return terrainHeight;
|
||||
}
|
||||
|
||||
private static final class SpawnInfo {
|
||||
EntityType<?> type;
|
||||
int weight;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue