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