Class SimpleBlockConfiguration.Builder
java.lang.Object
dev.wyck.worldgen.feature.configurations.SimpleBlockConfiguration.Builder
- Enclosing interface:
SimpleBlockConfiguration
Builder for
SimpleBlockConfiguration.- Since:
- 3.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configuration.scheduleTick(boolean scheduleTick) Sets whether to schedule a block update.toPlace(BlockStateProvider toPlace) Sets the block state provider.
-
Constructor Details
-
Builder
public Builder() -
Builder
-
-
Method Details
-
toPlace
Sets the block state provider.- Parameters:
toPlace- the block state provider- Returns:
- this builder
- Since:
- 3.0.0
-
scheduleTick
Sets whether to schedule a block update.- Parameters:
scheduleTick- whether to schedule a block update- Returns:
- this builder
- Since:
- 3.0.0
-
build
Builds the configuration.- Returns:
- the configuration
- Since:
- 3.0.0
-