Interface BiomeAttributes.Factory
- Enclosing interface:
BiomeAttributes
public static interface BiomeAttributes.Factory
-
Method Summary
Modifier and TypeMethodDescriptiondefaultAttributes
(RegistryReference<Biome> biome) Returns the defaultBiomeAttributes
used in vanilla biomes.Returns the full range forBiomeAttributes
settings.ofPoint
(float temperature, float humidity, float continentalness, float erosion, float depth, float weirdness, float offset) CreatesBiomeAttributes
with point values.ofRange
(Range<Float> temperature, Range<Float> humidity, Range<Float> continentalness, Range<Float> erosion, Range<Float> depth, Range<Float> weirdness, float offset) CreatesBiomeAttributes
spanning a range of values.
-
Method Details
-
fullRange
Returns the full range forBiomeAttributes
settings.- Returns:
- The full range
-
ofPoint
BiomeAttributes ofPoint(float temperature, float humidity, float continentalness, float erosion, float depth, float weirdness, float offset) CreatesBiomeAttributes
with point values.- Returns:
- A biome attributes point
-
ofRange
BiomeAttributes ofRange(Range<Float> temperature, Range<Float> humidity, Range<Float> continentalness, Range<Float> erosion, Range<Float> depth, Range<Float> weirdness, float offset) CreatesBiomeAttributes
spanning a range of values.- Returns:
- A biome attributes range
-
defaultAttributes
Returns the defaultBiomeAttributes
used in vanilla biomes.- Parameters:
biome
- The biome attributes- Returns:
- The biome attributes
-