Class CanyonShapeConfiguration.Builder

java.lang.Object
dev.wyck.wrapper.worldgen.carver.CanyonShapeConfiguration.Builder
Enclosing class:
CanyonShapeConfiguration

@AsOf("2.3.0") public static final class CanyonShapeConfiguration.Builder extends Object
A builder for creating a CanyonShapeConfiguration.
Since:
2.3.0
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • distanceFactor

      @AsOf("2.3.0") public CanyonShapeConfiguration.Builder distanceFactor(FloatProvider distanceFactor)
      Sets the distance factor of the shape.
      Parameters:
      distanceFactor - the distance factor of the shape
      Returns:
      this builder, for chaining
      Since:
      2.3.0
    • thickness

      @AsOf("2.3.0") public CanyonShapeConfiguration.Builder thickness(FloatProvider thickness)
      Sets the thickness of the shape.
      Parameters:
      thickness - the thickness of the shape
      Returns:
      this builder, for chaining
      Since:
      2.3.0
    • widthSmoothness

      @AsOf("2.3.0") public CanyonShapeConfiguration.Builder widthSmoothness(int widthSmoothness)
      Sets the width smoothness of the shape.
      Parameters:
      widthSmoothness - the width smoothness of the shape
      Returns:
      this builder, for chaining
      Since:
      2.3.0
    • horizontalRadiusFactor

      @AsOf("2.3.0") public CanyonShapeConfiguration.Builder horizontalRadiusFactor(FloatProvider horizontalRadiusFactor)
      Sets the horizontal radius factor of the shape.
      Parameters:
      horizontalRadiusFactor - the horizontal radius factor of the shape
      Returns:
      this builder, for chaining
      Since:
      2.3.0
    • verticalRadiusDefaultFactor

      @AsOf("2.3.0") public CanyonShapeConfiguration.Builder verticalRadiusDefaultFactor(float verticalRadiusDefaultFactor)
      Sets the vertical radius default factor of the shape.
      Parameters:
      verticalRadiusDefaultFactor - the vertical radius default factor of the shape
      Returns:
      this builder, for chaining
      Since:
      2.3.0
    • verticalRadiusCenterFactor

      @AsOf("2.3.0") public CanyonShapeConfiguration.Builder verticalRadiusCenterFactor(float verticalRadiusCenterFactor)
      Sets the vertical radius center factor of the shape.
      Parameters:
      verticalRadiusCenterFactor - the vertical radius center factor of the shape
      Returns:
      this builder, for chaining
      Since:
      2.3.0
    • build

      @AsOf("2.3.0") public CanyonShapeConfiguration build()
      Builds the CanyonShapeConfiguration.
      Returns:
      the CanyonShapeConfiguration
      Throws:
      IllegalStateException - if any required fields are not set
      Since:
      2.3.0