Class NetherForestVegetationConfig.Builder
java.lang.Object
dev.wyck.worldgen.feature.configurations.NetherForestVegetationConfig.Builder
- Enclosing interface:
NetherForestVegetationConfig
Builder for
NetherForestVegetationConfig.- Since:
- 3.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configuration.spreadHeight(int spreadHeight) Sets the spread height.spreadWidth(int spreadWidth) Sets the spread width.stateProvider(BlockStateProvider stateProvider) Sets the block state provider.
-
Constructor Details
-
Builder
public Builder() -
Builder
-
-
Method Details
-
stateProvider
@AsOf("3.0.0") public NetherForestVegetationConfig.Builder stateProvider(BlockStateProvider stateProvider) Sets the block state provider.- Parameters:
stateProvider- the block state provider- Returns:
- this builder
- Since:
- 3.0.0
-
spreadWidth
Sets the spread width.- Parameters:
spreadWidth- the spread width- Returns:
- this builder
- Since:
- 3.0.0
-
spreadHeight
Sets the spread height.- Parameters:
spreadHeight- the spread height- Returns:
- this builder
- Since:
- 3.0.0
-
build
Builds the configuration.- Returns:
- the configuration
- Since:
- 3.0.0
-