Class FossilFeatureConfiguration.Builder
java.lang.Object
dev.wyck.worldgen.feature.configurations.FossilFeatureConfiguration.Builder
- Enclosing interface:
FossilFeatureConfiguration
Builder for
FossilFeatureConfiguration.- Since:
- 3.3.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds theFossilFeatureConfigurationinstance.fossilProcessors(ResourceKey fossilProcessors) Sets the fossil processors for the fossil feature configuration.fossilStructure(ResourceKey fossilStructure) Adds a fossil structure to the list of fossil structures.fossilStructures(List<ResourceKey> fossilStructures) Sets the fossil structures for the fossil feature configuration.maxEmptyCornersAllowed(int maxEmptyCornersAllowed) Sets the maximum number of empty corners allowed.overlayProcessors(ResourceKey overlayProcessors) Sets the overlay processors for the fossil feature configuration.overlayStructure(ResourceKey overlayStructure) Adds an overlay structure to the list of overlay structures.overlayStructures(List<ResourceKey> overlayStructures) Sets the overlay structures for the fossil feature configuration.
-
Constructor Details
-
Builder
public Builder() -
Builder
-
-
Method Details
-
fossilStructures
@AsOf("3.3.0") public FossilFeatureConfiguration.Builder fossilStructures(List<ResourceKey> fossilStructures) Sets the fossil structures for the fossil feature configuration.- Parameters:
fossilStructures- the fossil structures- Returns:
- this builder
- Since:
- 3.3.0
-
overlayStructures
@AsOf("3.3.0") public FossilFeatureConfiguration.Builder overlayStructures(List<ResourceKey> overlayStructures) Sets the overlay structures for the fossil feature configuration.- Parameters:
overlayStructures- the overlay structures- Returns:
- this builder
- Since:
- 3.3.0
-
fossilProcessors
@AsOf("3.3.0") public FossilFeatureConfiguration.Builder fossilProcessors(ResourceKey fossilProcessors) Sets the fossil processors for the fossil feature configuration.- Parameters:
fossilProcessors- the fossil processors- Returns:
- this builder
- Since:
- 3.3.0
-
overlayProcessors
@AsOf("3.3.0") public FossilFeatureConfiguration.Builder overlayProcessors(ResourceKey overlayProcessors) Sets the overlay processors for the fossil feature configuration.- Parameters:
overlayProcessors- the overlay processors- Returns:
- this builder
- Since:
- 3.3.0
-
maxEmptyCornersAllowed
@AsOf("3.3.0") public FossilFeatureConfiguration.Builder maxEmptyCornersAllowed(int maxEmptyCornersAllowed) Sets the maximum number of empty corners allowed.- Parameters:
maxEmptyCornersAllowed- the maximum number of empty corners allowed- Returns:
- this builder
- Since:
- 3.3.0
-
fossilStructure
@AsOf("3.3.0") public FossilFeatureConfiguration.Builder fossilStructure(ResourceKey fossilStructure) Adds a fossil structure to the list of fossil structures.- Parameters:
fossilStructure- the fossil structure to add- Returns:
- this builder
- Since:
- 3.3.0
-
overlayStructure
@AsOf("3.3.0") public FossilFeatureConfiguration.Builder overlayStructure(ResourceKey overlayStructure) Adds an overlay structure to the list of overlay structures.- Parameters:
overlayStructure- the overlay structure to add- Returns:
- this builder
- Since:
- 3.3.0
-
build
Builds theFossilFeatureConfigurationinstance.- Returns:
- A new instance of
FossilFeatureConfigurationwith the specified parameters. - Since:
- 3.3.0
-