Interface BiomeAttributes
public interface BiomeAttributes
Attributes with which biomes are picked for during world generation.
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe continentalness.static Optional
<BiomeAttributes> defaultAttributes
(RegistryReference<Biome> biome) depth()
The depth.erosion()
The erosion.humidity()
The humidity range.float
offset()
The offset.static BiomeAttributes
point
(float temperature, float humidity, float continentalness, float erosion, float depth, float weirdness, float offset) static BiomeAttributes
range
(Range<Float> temperature, Range<Float> humidity, Range<Float> continentalness, Range<Float> erosion, Range<Float> depth, Range<Float> weirdness, float offset) The temperature range.Gets the weirdness.
-
Method Details
-
point
static BiomeAttributes point(float temperature, float humidity, float continentalness, float erosion, float depth, float weirdness, float offset) -
range
-
defaultAttributes
-
temperature
The temperature range.In Vanilla Minecraft, this is capped between
-2
to2
.- Returns:
- temperature
-
humidity
The humidity range.In Vanilla Minecraft, this is capped between
-2
to2
.- Returns:
- humidity
-
continentalness
The continentalness.Higher value when more inland. For low values oceans may generate.
- Returns:
- continentalness
-
erosion
The erosion.Higher values result in flatter areas, low values result in mountainous areas.
- Returns:
- erosion
-
depth
The depth.- Returns:
- the depth.
-
weirdness
Gets the weirdness.In Vanilla Minecraft, this is capped between
-2
to2
.- Returns:
- weirdness
-
offset
float offset()The offset.In Vanilla Minecraft, this is capped between
0
to1
.- Returns:
- offset
-