Class BiomeSettings.Builder
java.lang.Object
dev.wyck.wrapper.BiomeSettings.Builder
- Enclosing class:
BiomeSettings
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()This method creates a new BiomeSettings object with the properties set in the Builder.depth(float depth) This method sets the depth property of the BiomeSettings.downfall(float downfall) This method sets the downfall property of the BiomeSettings.hasPrecipitation(boolean hasPrecipitation) This method sets whether the biome has precipitation.modifier(TemperatureModifier modifier) This method sets the temperature modifier property of the BiomeSettings.scale(float scale) This method sets the scale property of the BiomeSettings.temperature(float temperature) This method sets the temperature property of the BiomeSettings.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
depth
This method sets the depth property of the BiomeSettings.- Parameters:
depth- The depth of the biome.- Returns:
- The Builder object, for chaining method calls.
- Since:
- 0.0.1
-
scale
This method sets the scale property of the BiomeSettings.- Parameters:
scale- The scale of the biome.- Returns:
- The Builder object, for chaining method calls.
- Since:
- 0.0.1
-
temperature
This method sets the temperature property of the BiomeSettings.- Parameters:
temperature- The temperature of the biome.- Returns:
- The Builder object, for chaining method calls.
- Since:
- 0.0.1
-
downfall
This method sets the downfall property of the BiomeSettings.- Parameters:
downfall- The downfall of the biome.- Returns:
- The Builder object, for chaining method calls.
- Since:
- 0.0.1
-
modifier
This method sets the temperature modifier property of the BiomeSettings.- Parameters:
modifier- The temperature modifier of the biome.- Returns:
- The Builder object, for chaining method calls.
- Since:
- 0.0.1
-
hasPrecipitation
This method sets whether the biome has precipitation.- Parameters:
hasPrecipitation- Whether the biome has precipitation.- Returns:
- The Builder object, for chaining method calls.
- Since:
- 0.0.8
-
build
This method creates a new BiomeSettings object with the properties set in the Builder.- Returns:
- a new BiomeSettings object.
- Since:
- 0.0.1
-