Class RandomizedIntStateProvider.Builder
java.lang.Object
dev.wyck.worldgen.stateproviders.RandomizedIntStateProvider.Builder
- Enclosing interface:
RandomizedIntStateProvider
Builder for
RandomizedIntStateProvider.- Since:
- 3.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the randomized int block state provider.Sets the value of the block property.source(BlockStateProvider source) Sets the source block state provider.values(IntProvider values) Sets the value of the block property.
-
Constructor Details
-
Builder
public Builder() -
Builder
-
-
Method Details
-
source
Sets the source block state provider.- Parameters:
source- the source block state provider- Returns:
- this builder
- Since:
- 3.0.0
-
property
Sets the value of the block property.- Parameters:
propertyName- the name of the block property- Returns:
- this builder
- Since:
- 3.0.0
-
values
Sets the value of the block property.- Parameters:
values- the value of the block property- Returns:
- this builder
- Since:
- 3.0.0
-
build
Builds the randomized int block state provider.- Returns:
- the randomized int block state provider
- Since:
- 3.0.0
-