Class NoiseThresholdCountPlacement.Builder

java.lang.Object
dev.wyck.worldgen.placement.NoiseThresholdCountPlacement.Builder
Enclosing interface:
NoiseThresholdCountPlacement

@AsOf("3.0.0") public static final class NoiseThresholdCountPlacement.Builder extends Object
Since:
3.0.0
  • Constructor Details

  • Method Details

    • noiseLevel

      @AsOf("3.0.0") public NoiseThresholdCountPlacement.Builder noiseLevel(double noiseLevel)
      Sets the noise level.
      Parameters:
      noiseLevel - the threshold within the noise for when to use the below or above count
      Returns:
      this builder
      Since:
      3.0.0
    • belowNoise

      @AsOf("3.0.0") public NoiseThresholdCountPlacement.Builder belowNoise(int belowNoise)
      Sets the below noise count.
      Parameters:
      belowNoise - the count when the noise is below the threshold
      Returns:
      this builder
      Since:
      3.0.0
    • aboveNoise

      @AsOf("3.0.0") public NoiseThresholdCountPlacement.Builder aboveNoise(int aboveNoise)
      Sets the above noise count.
      Parameters:
      aboveNoise - the count when the noise is above the threshold
      Returns:
      this builder
      Since:
      3.0.0
    • build

      @AsOf("3.0.0") public NoiseThresholdCountPlacement build()
      Builds the noise threshold count placement.
      Returns:
      the noise threshold count placement
      Since:
      3.0.0