Class CompositeFeatureConfiguration.Builder
java.lang.Object
dev.wyck.worldgen.feature.configurations.CompositeFeatureConfiguration.Builder
- Enclosing interface:
CompositeFeatureConfiguration
Builder for
CompositeFeatureConfiguration.- Since:
- 3.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configuration.feature(PlacedFeature... features) Adds a feature to the list.features(List<PlacedFeature> features) Sets the list of features.
-
Constructor Details
-
Builder
public Builder() -
Builder
-
-
Method Details
-
features
Sets the list of features.- Parameters:
features- the list of features- Returns:
- this builder
- Since:
- 3.0.0
-
feature
Adds a feature to the list.- Parameters:
features- the feature to add- Returns:
- this builder
- Since:
- 3.0.0
-
build
Builds the configuration.- Returns:
- the configuration
- Since:
- 3.0.0
-