Class BlockBlobConfiguration.Builder
java.lang.Object
dev.wyck.worldgen.feature.configurations.BlockBlobConfiguration.Builder
- Enclosing interface:
BlockBlobConfiguration
Builder for
BlockBlobConfiguration.- Since:
- 3.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configuration.canPlaceOn(BlockPredicate canPlaceOn) Sets the block predicate that must be passed for the blob to be placed on a block.Sets the block state that makes up the blob.Sets the block state that makes up the blob from the given material's default block data.
-
Constructor Details
-
Builder
public Builder() -
Builder
-
-
Method Details
-
state
Sets the block state that makes up the blob.- Parameters:
state- the block state- Returns:
- this builder
- Since:
- 3.0.0
-
canPlaceOn
Sets the block predicate that must be passed for the blob to be placed on a block.- Parameters:
canPlaceOn- the placement predicate- Returns:
- this builder
- Since:
- 3.0.0
-
state
Sets the block state that makes up the blob 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 configuration.- Returns:
- the configuration
- Since:
- 3.0.0
-