Class SpikeConfiguration.Builder
java.lang.Object
dev.wyck.worldgen.feature.configurations.SpikeConfiguration.Builder
- Enclosing interface:
SpikeConfiguration
Builder for
SpikeConfiguration.- Since:
- 3.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configuration.canPlaceOn(BlockPredicate canPlaceOn) Sets the can place on predicate.canReplace(BlockPredicate canReplace) Sets the can replace predicate.Sets the block state.Sets the block state.
-
Constructor Details
-
Builder
public Builder() -
Builder
-
-
Method Details
-
state
Sets the block state.- Parameters:
state- the block state- Returns:
- this builder
- Since:
- 3.0.0
-
canPlaceOn
Sets the can place on predicate.- Parameters:
canPlaceOn- the can place on predicate- Returns:
- this builder
- Since:
- 3.0.0
-
canReplace
Sets the can replace predicate.- Parameters:
canReplace- the can replace predicate- Returns:
- this builder
- Since:
- 3.0.0
-
state
Sets the block state.- Parameters:
material- the block state- Returns:
- this builder
- Since:
- 3.0.0
-
build
Builds the configuration.- Returns:
- the configuration
- Since:
- 3.0.0
-