Class BlockStateConfiguration.Builder
java.lang.Object
dev.wyck.worldgen.feature.configurations.BlockStateConfiguration.Builder
- Enclosing interface:
BlockStateConfiguration
Builder for
BlockStateConfiguration.- Since:
- 3.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the block state configuration.Sets the block state used by this configuration.Sets the block state used by this configuration from the given material's default block data.
-
Constructor Details
-
Builder
public Builder() -
Builder
-
-
Method Details
-
state
Sets the block state used by this configuration.- Parameters:
state- the block state- Returns:
- this builder
- Since:
- 3.0.0
-
state
Sets the block state used by this configuration from the given material's default block data.- Parameters:
material- the material to derive the block state from- Returns:
- this builder
- Since:
- 3.0.0
-
build
Builds the block state configuration.- Returns:
- the block state configuration
- Since:
- 3.0.0
-