Class ClampedNormalInt.Builder
java.lang.Object
dev.wyck.worldgen.valueproviders.IntProvider.IntProviderBuilder<ClampedNormalInt, ClampedNormalInt.Builder>
dev.wyck.worldgen.valueproviders.ClampedNormalInt.Builder
- Enclosing interface:
ClampedNormalInt
@AsOf("3.0.0")
public static final class ClampedNormalInt.Builder
extends IntProvider.IntProviderBuilder<ClampedNormalInt, ClampedNormalInt.Builder>
Builder for
ClampedNormalInt.- Since:
- 3.0.0
-
Field Summary
Fields inherited from class IntProvider.IntProviderBuilder
maxInclusive, minInclusive -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class IntProvider.IntProviderBuilder
max, maxInclusive, min, minInclusive
-
Constructor Details
-
Builder
public Builder() -
Builder
-
-
Method Details
-
mean
Sets the mean of the normal distribution.- Parameters:
mean- the mean of the normal distribution- Returns:
- this builder
- Since:
- 3.0.0
-
deviation
Sets the deviation of the normal distribution.- Parameters:
deviation- the deviation of the normal distribution- Returns:
- this builder
- Since:
- 3.0.0
-
build
Description copied from class:IntProvider.IntProviderBuilderBuilds the int provider.- Specified by:
buildin classIntProvider.IntProviderBuilder<ClampedNormalInt, ClampedNormalInt.Builder>- Returns:
- the int provider
-