Class NoiseSettings.Builder

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

@AsOf("2.4.0") public static final class NoiseSettings.Builder extends Object
Builder for NoiseSettings.
Since:
2.4.0
  • Constructor Details

    • Builder

      public Builder()
    • Builder

      @AsOf("4.0.0") public Builder(NoiseSettings settings)
      Creates a builder containing the values of existing noise settings.
      Parameters:
      settings - the noise settings to copy
      Since:
      4.0.0
  • Method Details

    • minY

      @AsOf("2.4.0") public NoiseSettings.Builder minY(int minY)
      Sets the minimum generation y-coordinate.
      Parameters:
      minY - the minimum generation y-coordinate
      Returns:
      this builder
      Since:
      2.4.0
    • height

      @AsOf("2.4.0") public NoiseSettings.Builder height(int height)
      Sets the total generation height.
      Parameters:
      height - the generation height
      Returns:
      this builder
      Since:
      2.4.0
    • build

      @AsOf("2.4.0") public NoiseSettings build()
      Builds the noise settings.
      Returns:
      the noise settings
      Since:
      2.4.0