Interface BiomeAttributes.Factory
- Enclosing interface:
BiomeAttributes
public static interface BiomeAttributes.Factory
-
Method Summary
Modifier and TypeMethodDescriptiondefaultAttributes(RegistryReference<Biome> biome) Returns the defaultBiomeAttributesused in vanilla biomes.Returns the full range forBiomeAttributessettings.ofPoint(float temperature, float humidity, float continentalness, float erosion, float depth, float weirdness, float offset) CreatesBiomeAttributeswith point values.ofRange(Range<Float> temperature, Range<Float> humidity, Range<Float> continentalness, Range<Float> erosion, Range<Float> depth, Range<Float> weirdness, float offset) CreatesBiomeAttributesspanning a range of values.
-
Method Details
-
fullRange
Returns the full range forBiomeAttributessettings.- Returns:
- The full range
-
ofPoint
BiomeAttributes ofPoint(float temperature, float humidity, float continentalness, float erosion, float depth, float weirdness, float offset) CreatesBiomeAttributeswith 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) CreatesBiomeAttributesspanning a range of values.- Returns:
- A biome attributes range
-
defaultAttributes
Returns the defaultBiomeAttributesused in vanilla biomes.- Parameters:
biome- The biome attributes- Returns:
- The biome attributes
-