Class NoiseSettings.Builder
java.lang.Object
dev.wyck.worldgen.noise.NoiseSettings.Builder
- Enclosing interface:
NoiseSettings
- Since:
- 2.4.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the noise settings shape.height(int height) Sets the height.minY(int minY) Sets the minimum Y level.sizeHorizontal(int sizeHorizontal) Sets the horizontal size.sizeVertical(int sizeVertical) Sets the vertical size.
-
Constructor Details
-
Builder
public Builder() -
Builder
-
-
Method Details
-
minY
Sets the minimum Y level.- Parameters:
minY- the minimum Y level- Returns:
- this builder
- Since:
- 3.0.0
-
height
Sets the height.- Parameters:
height- the height- Returns:
- this builder
- Since:
- 3.0.0
-
sizeHorizontal
Sets the horizontal size.- Parameters:
sizeHorizontal- the horizontal size- Returns:
- this builder
- Since:
- 3.0.0
-
sizeVertical
Sets the vertical size.- Parameters:
sizeVertical- the vertical size- Returns:
- this builder
- Since:
- 3.0.0
-
build
Builds the noise settings shape.- Returns:
- a new noise settings shape
- Since:
- 3.0.0
-