Class LevelStem.Builder
java.lang.Object
dev.wyck.level.dimension.LevelStem.Builder
- Enclosing interface:
LevelStem
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds theLevelStemwith the specified properties.chunkGenerator(ChunkGenerator chunkGenerator) Sets the chunk generator for the level stem.Sets the dimension type for the level stem.resourceKey(ResourceKey resourceKey) Sets the resource key for the level stem.
-
Constructor Details
-
Builder
public Builder() -
Builder
-
-
Method Details
-
resourceKey
Sets the resource key for the level stem.- Parameters:
resourceKey- the resource key- Returns:
- this builder
- Since:
- 3.3.0
-
dimension
Sets the dimension type for the level stem.- Parameters:
dimension- the dimension type- Returns:
- this builder
- Since:
- 3.3.0
-
chunkGenerator
Sets the chunk generator for the level stem.- Parameters:
chunkGenerator- the chunk generator- Returns:
- this builder
- Since:
- 3.3.0
-
build
-