Class IntProvider.IntProviderBuilder<T extends IntProvider, S extends IntProvider.IntProviderBuilder<T,S>>
java.lang.Object
dev.wyck.worldgen.valueproviders.IntProvider.IntProviderBuilder<T,S>
- Type Parameters:
T- the provider typeS- the builder type
- Direct Known Subclasses:
BiasedToBottomInt.Builder, ClampedInt.Builder, ClampedNormalInt.Builder, TrapezoidInt.Builder, UniformInt.Builder
- Enclosing interface:
IntProvider
@AsOf("3.0.0")
public abstract static class IntProvider.IntProviderBuilder<T extends IntProvider, S extends IntProvider.IntProviderBuilder<T,S>>
extends Object
Common abstract builder for most int providers.
- Since:
- 3.0.0
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract Tbuild()Builds the int provider.max(int max) Sets the maximum allowed value.maxInclusive(int maxInclusive) Sets the maximum allowed value.min(int min) Sets the minimum allowed value.minInclusive(int minInclusive) Sets the minimum allowed value.
-
Field Details
-
minInclusive
protected int minInclusive -
maxInclusive
protected int maxInclusive
-
-
Constructor Details
-
IntProviderBuilder
protected IntProviderBuilder() -
IntProviderBuilder
-
-
Method Details
-
minInclusive
-
maxInclusive
-
min
-
max
-
build
-