Class UniformFloat.Builder
java.lang.Object
dev.wyck.worldgen.valueproviders.UniformFloat.Builder
- Enclosing interface:
UniformFloat
Builder for
UniformFloat.- Since:
- 3.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()max(float max) Sets the maximum value (exclusive).maxExclusive(float maxExclusive) Sets the maximum value (exclusive).min(float min) Sets the minimum value (inclusive).minInclusive(float minInclusive) Sets the minimum value (inclusive).
-
Constructor Details
-
Builder
public Builder() -
Builder
-
-
Method Details
-
minInclusive
Sets the minimum value (inclusive).- Parameters:
minInclusive- the minimum value- Returns:
- this builder
- Since:
- 3.0.0
-
maxExclusive
Sets the maximum value (exclusive).- Parameters:
maxExclusive- the maximum value- Returns:
- this builder
- Since:
- 3.0.0
-
min
Sets the minimum value (inclusive).- Parameters:
min- the minimum value- Returns:
- this builder
- Since:
- 3.0.0
-
max
Sets the maximum value (exclusive).- Parameters:
max- the maximum value- Returns:
- this builder
- Since:
- 3.0.0
-
build
-