Class BiomeElevation.Absolute
java.lang.Object
org.cloudburstmc.server.level.generator.standard.biome.BiomeElevation
org.cloudburstmc.server.level.generator.standard.biome.BiomeElevation.Absolute
- Enclosing class:
- BiomeElevation
Implementation of
BiomeElevation which takes height and variation values given in blocks.- Author:
- DaPorkchop_
-
Nested Class Summary
Nested classes/interfaces inherited from class org.cloudburstmc.server.level.generator.standard.biome.BiomeElevation
BiomeElevation.Absolute, BiomeElevation.Vanilla -
Field Summary
Fields inherited from class org.cloudburstmc.server.level.generator.standard.biome.BiomeElevation
DEFAULT, height, normalizedHeight, normalizedVariation, variation -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected doublenormalizeHeight(double height)protected doublenormalizeVariation(double variation)Methods inherited from class org.cloudburstmc.server.level.generator.standard.biome.BiomeElevation
getHeight, getNormalizedHeight, getNormalizedVariation, getVariation
-
Constructor Details
-
Absolute
public Absolute(double height, double variation)
-
-
Method Details
-
normalizeHeight
protected double normalizeHeight(double height)- Specified by:
normalizeHeightin classBiomeElevation
-
normalizeVariation
protected double normalizeVariation(double variation)- Specified by:
normalizeVariationin classBiomeElevation
-