Class ClimatePoint.Builder
java.lang.Object
dev.wyck.wrapper.worldgen.climate.ClimatePoint.Builder
- Enclosing interface:
ClimatePoint
Builder for a climate point. Any axis left unset spans the full [-2.0, 2.0] range, so it
matches anywhere on that axis.
- Since:
- 2.3.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the climate point.continentalness(ClimateParameter continentalness) Sets the continentalness axis span.depth(ClimateParameter depth) Sets the depth axis span.erosion(ClimateParameter erosion) Sets the erosion axis span.humidity(ClimateParameter humidity) Sets the humidity axis span.offset(float offset) Sets the fitness offset between 0.0 and 1.0.temperature(ClimateParameter temperature) Sets the temperature axis span.weirdness(ClimateParameter weirdness) Sets the weirdness axis span.
-
Constructor Details
-
Builder
public Builder() -
Builder
-
-
Method Details
-
temperature
Sets the temperature axis span.- Parameters:
temperature- the temperature parameter- Returns:
- this builder, for chaining
- Since:
- 2.3.0
-
humidity
Sets the humidity axis span.- Parameters:
humidity- the humidity parameter- Returns:
- this builder, for chaining
- Since:
- 2.3.0
-
continentalness
Sets the continentalness axis span.- Parameters:
continentalness- the continentalness parameter- Returns:
- this builder, for chaining
- Since:
- 2.3.0
-
erosion
Sets the erosion axis span.- Parameters:
erosion- the erosion parameter- Returns:
- this builder, for chaining
- Since:
- 2.3.0
-
depth
Sets the depth axis span.- Parameters:
depth- the depth parameter- Returns:
- this builder, for chaining
- Since:
- 2.3.0
-
weirdness
Sets the weirdness axis span.- Parameters:
weirdness- the weirdness parameter- Returns:
- this builder, for chaining
- Since:
- 2.3.0
-
offset
Sets the fitness offset between 0.0 and 1.0.- Parameters:
offset- the fitness offset- Returns:
- this builder, for chaining
- Since:
- 2.3.0
-
build
Builds the climate point.- Returns:
- the climate point
- Since:
- 2.3.0
-