Class ClimateSettings.Builder
java.lang.Object
dev.wyck.wrapper.biome.ClimateSettings.Builder
- Enclosing interface:
ClimateSettings
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds a new ClimateSettings instance.downfall(float downfall) Sets the downfall property of the builder.hasPrecipitation(boolean hasPrecipitation) Sets the hasPrecipitation property of the builder.temperature(float temperature) Sets the temperature property of the builder.temperatureModifier(TemperatureModifier temperatureModifier) Sets the temperatureModifier property of the builder.
-
Constructor Details
-
Builder
public Builder() -
Builder
-
-
Method Details
-
hasPrecipitation
Sets the hasPrecipitation property of the builder.- Parameters:
hasPrecipitation- The hasPrecipitation property of the builder.- Returns:
- This builder instance.
-
temperature
Sets the temperature property of the builder.- Parameters:
temperature- The temperature property of the builder.- Returns:
- This builder instance.
-
temperatureModifier
@AsOf("3.0.0") public ClimateSettings.Builder temperatureModifier(TemperatureModifier temperatureModifier) Sets the temperatureModifier property of the builder.- Parameters:
temperatureModifier- The temperatureModifier property of the builder.- Returns:
- This builder instance.
-
downfall
Sets the downfall property of the builder.- Parameters:
downfall- The downfall property of the builder.- Returns:
- This builder instance.
-
build
Builds a new ClimateSettings instance.- Returns:
- A new ClimateSettings instance.
-