Class ComposedStructure.Builder
java.lang.Object
dev.wyck.worldgen.structure.types.ComposedStructure.Builder
- Enclosing interface:
ComposedStructure
Builder for
ComposedStructure. A builder can only be obtained from an existing
composed structure, since the type-specific half cannot be authored.- Since:
- 3.4.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the composed structure.resourceKey(ResourceKey resourceKey) Sets the resource key of the structure.settings(StructureSettings settings) Sets the settings of the structure.
-
Constructor Details
-
Builder
-
-
Method Details
-
resourceKey
Sets the resource key of the structure.- Parameters:
resourceKey- the resource key of the structure- Returns:
- this builder
- Since:
- 3.4.0
-
settings
Sets the settings of the structure.- Parameters:
settings- the settings of the structure- Returns:
- this builder
- Since:
- 3.4.0
-
build
Builds the composed structure.- Returns:
- the composed structure
- Since:
- 3.4.0
-