Class NoiseSettings.Builder

java.lang.Object
dev.wyck.worldgen.noise.NoiseSettings.Builder
Enclosing interface:
NoiseSettings

public static final class NoiseSettings.Builder extends Object
Since:
2.4.0
  • Constructor Details

    • Builder

      public Builder()
    • Builder

      public Builder(NoiseSettings settings)
  • Method Details

    • minY

      @AsOf("3.0.0") public NoiseSettings.Builder minY(int minY)
      Sets the minimum Y level.
      Parameters:
      minY - the minimum Y level
      Returns:
      this builder
      Since:
      3.0.0
    • height

      @AsOf("3.0.0") public NoiseSettings.Builder height(int height)
      Sets the height.
      Parameters:
      height - the height
      Returns:
      this builder
      Since:
      3.0.0
    • sizeHorizontal

      @AsOf("3.0.0") public NoiseSettings.Builder sizeHorizontal(int sizeHorizontal)
      Sets the horizontal size.
      Parameters:
      sizeHorizontal - the horizontal size
      Returns:
      this builder
      Since:
      3.0.0
    • sizeVertical

      @AsOf("3.0.0") public NoiseSettings.Builder sizeVertical(int sizeVertical)
      Sets the vertical size.
      Parameters:
      sizeVertical - the vertical size
      Returns:
      this builder
      Since:
      3.0.0
    • build

      @AsOf("3.0.0") public NoiseSettings build()
      Builds the noise settings shape.
      Returns:
      a new noise settings shape
      Since:
      3.0.0