Class MineshaftStructure.Builder
java.lang.Object
dev.wyck.worldgen.structure.types.MineshaftStructure.Builder
- Enclosing interface:
MineshaftStructure
Builder for
MineshaftStructure.- Since:
- 3.4.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the structure.mineshaftType(MineshaftStructure.Type mineshaftType) Sets the wood the mineshaft is built from.resourceKey(ResourceKey resourceKey) Sets the resource key of the structure.settings(StructureSettings settings) Sets the settings every structure carries.
-
Constructor Details
-
Builder
-
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 every structure carries.- Parameters:
settings- the settings of the structure- Returns:
- this builder
- Since:
- 3.4.0
-
mineshaftType
@AsOf("3.4.0") public MineshaftStructure.Builder mineshaftType(MineshaftStructure.Type mineshaftType) Sets the wood the mineshaft is built from.- Parameters:
mineshaftType- the mineshaft type- Returns:
- this builder
- Since:
- 3.4.0
-
build
Builds the structure.- Returns:
- the structure
- Since:
- 3.4.0
-