Class CanyonCarverConfiguration.CanyonShapeConfiguration.Builder
java.lang.Object
dev.wyck.worldgen.carver.CanyonCarverConfiguration.CanyonShapeConfiguration.Builder
- Enclosing interface:
CanyonCarverConfiguration.CanyonShapeConfiguration
@AsOf("3.0.0")
public static final class CanyonCarverConfiguration.CanyonShapeConfiguration.Builder
extends Object
Builder for
CanyonCarverConfiguration.CanyonShapeConfiguration.- Since:
- 3.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionBuilder()Builder(CanyonCarverConfiguration.CanyonShapeConfiguration configuration) -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the canyon shape configuration.distanceFactor(FloatProvider distanceFactor) Sets the distance factor for the canyon shape.horizontalRadiusFactor(FloatProvider horizontalRadiusFactor) Sets the horizontal radius factor of the canyon shape.thickness(FloatProvider thickness) Sets the thickness of the canyon shape.verticalRadiusCenterFactor(float verticalRadiusCenterFactor) Sets the vertical radius center factor of the canyon shape.verticalRadiusDefaultFactor(float verticalRadiusDefaultFactor) Sets the vertical radius default factor of the canyon shape.widthSmoothness(int widthSmoothness) Sets the width smoothness of the canyon shape.
-
Constructor Details
-
Builder
public Builder() -
Builder
-
-
Method Details
-
distanceFactor
@AsOf("3.0.0") public CanyonCarverConfiguration.CanyonShapeConfiguration.Builder distanceFactor(FloatProvider distanceFactor) Sets the distance factor for the canyon shape.- Parameters:
distanceFactor- the distance factor for the canyon shape- Returns:
- this builder
- Since:
- 3.0.0
-
thickness
@AsOf("3.0.0") public CanyonCarverConfiguration.CanyonShapeConfiguration.Builder thickness(FloatProvider thickness) Sets the thickness of the canyon shape.- Parameters:
thickness- the thickness of the canyon shape- Returns:
- this builder
- Since:
- 3.0.0
-
widthSmoothness
@AsOf("3.0.0") public CanyonCarverConfiguration.CanyonShapeConfiguration.Builder widthSmoothness(int widthSmoothness) Sets the width smoothness of the canyon shape.- Parameters:
widthSmoothness- the width smoothness of the canyon shape- Returns:
- this builder
- Since:
- 3.0.0
-
horizontalRadiusFactor
@AsOf("3.0.0") public CanyonCarverConfiguration.CanyonShapeConfiguration.Builder horizontalRadiusFactor(FloatProvider horizontalRadiusFactor) Sets the horizontal radius factor of the canyon shape.- Parameters:
horizontalRadiusFactor- the horizontal radius factor of the canyon shape- Returns:
- this builder
- Since:
- 3.0.0
-
verticalRadiusDefaultFactor
@AsOf("3.0.0") public CanyonCarverConfiguration.CanyonShapeConfiguration.Builder verticalRadiusDefaultFactor(float verticalRadiusDefaultFactor) Sets the vertical radius default factor of the canyon shape.- Parameters:
verticalRadiusDefaultFactor- the vertical radius default factor of the canyon shape- Returns:
- this builder
- Since:
- 3.0.0
-
verticalRadiusCenterFactor
@AsOf("3.0.0") public CanyonCarverConfiguration.CanyonShapeConfiguration.Builder verticalRadiusCenterFactor(float verticalRadiusCenterFactor) Sets the vertical radius center factor of the canyon shape.- Parameters:
verticalRadiusCenterFactor- the vertical radius center factor of the canyon shape- Returns:
- this builder
- Since:
- 3.0.0
-
build
Builds the canyon shape configuration.- Returns:
- the canyon shape configuration
- Since:
- 3.0.0
-