Class ComposedCarver.Builder
java.lang.Object
dev.wyck.worldgen.carver.types.ComposedCarver.Builder
- Enclosing interface:
ComposedCarver
Builder for
ComposedCarver.- Since:
- 3.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the composed carver.config(CarverConfiguration config) Sets the configuration of the carver.resourceKey(ResourceKey resourceKey) Sets the resource key of the carver.type(WorldCarverType type) Sets the type of the carver.
-
Constructor Details
-
Builder
public Builder() -
Builder
-
Builder
-
-
Method Details
-
resourceKey
Sets the resource key of the carver.- Parameters:
resourceKey- the resource key of the carver- Returns:
- this builder
- Since:
- 3.0.0
-
type
Sets the type of the carver.- Parameters:
type- the type of the carver- Returns:
- this builder
- Since:
- 3.0.0
-
config
Sets the configuration of the carver.- Parameters:
config- the configuration of the carver- Returns:
- this builder
- Since:
- 3.0.0
-
build
Builds the composed carver.- Returns:
- the composed carver
- Since:
- 3.0.0
-