Class BiomeElevation.Vanilla
java.lang.Object
org.cloudburstmc.server.level.generator.standard.biome.BiomeElevation
org.cloudburstmc.server.level.generator.standard.biome.BiomeElevation.Vanilla
- Enclosing class:
- BiomeElevation
Implementation of
BiomeElevation which takes height and variation values in the format used by vanilla Minecraft.- 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
-
Vanilla
public Vanilla(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
-