Class NoiseThresholdCountPlacement.Builder
java.lang.Object
dev.wyck.worldgen.placement.NoiseThresholdCountPlacement.Builder
- Enclosing interface:
NoiseThresholdCountPlacement
Builder for
NoiseThresholdCountPlacement.- Since:
- 3.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaboveNoise(int aboveNoise) Sets the above noise count.belowNoise(int belowNoise) Sets the below noise count.build()Builds the noise threshold count placement.noiseLevel(double noiseLevel) Sets the noise level.
-
Constructor Details
-
Builder
public Builder() -
Builder
-
-
Method Details
-
noiseLevel
Sets the noise level.- Parameters:
noiseLevel- the threshold within the noise for when to use the below or above count- Returns:
- this builder
- Since:
- 3.0.0
-
belowNoise
Sets the below noise count.- Parameters:
belowNoise- the count when the noise is below the threshold- Returns:
- this builder
- Since:
- 3.0.0
-
aboveNoise
Sets the above noise count.- Parameters:
aboveNoise- the count when the noise is above the threshold- Returns:
- this builder
- Since:
- 3.0.0
-
build
Builds the noise threshold count placement.- Returns:
- the noise threshold count placement
- Since:
- 3.0.0
-