Class DripstoneClusterConfiguration.Builder

java.lang.Object
dev.wyck.worldgen.feature.configurations.DripstoneClusterConfiguration.Builder
Enclosing interface:
DripstoneClusterConfiguration

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

  • Method Details

    • floorToCeilingSearchRange

      @AsOf("3.0.0") public DripstoneClusterConfiguration.Builder floorToCeilingSearchRange(int floorToCeilingSearchRange)
      Sets how many blocks the feature searches for the floor or ceiling.
      Parameters:
      floorToCeilingSearchRange - the floor to ceiling search range
      Returns:
      this builder
      Since:
      3.0.0
    • height

      @AsOf("3.0.0") public DripstoneClusterConfiguration.Builder height(IntProvider height)
      Sets the height of the cluster.
      Parameters:
      height - the cluster height
      Returns:
      this builder
      Since:
      3.0.0
    • radius

      @AsOf("3.0.0") public DripstoneClusterConfiguration.Builder radius(IntProvider radius)
      Sets the radius of the cluster.
      Parameters:
      radius - the cluster radius
      Returns:
      this builder
      Since:
      3.0.0
    • maxStalagmiteStalactiteHeightDiff

      @AsOf("3.0.0") public DripstoneClusterConfiguration.Builder maxStalagmiteStalactiteHeightDiff(int maxStalagmiteStalactiteHeightDiff)
      Sets the maximum height difference between stalagmites and stalactites.
      Parameters:
      maxStalagmiteStalactiteHeightDiff - the maximum stalagmite to stalactite height difference
      Returns:
      this builder
      Since:
      3.0.0
    • heightDeviation

      @AsOf("3.0.0") public DripstoneClusterConfiguration.Builder heightDeviation(int heightDeviation)
      Sets the height deviation.
      Parameters:
      heightDeviation - the height deviation
      Returns:
      this builder
      Since:
      3.0.0
    • dripstoneBlockLayerThickness

      @AsOf("3.0.0") public DripstoneClusterConfiguration.Builder dripstoneBlockLayerThickness(IntProvider dripstoneBlockLayerThickness)
      Sets the dripstone block layer's thickness.
      Parameters:
      dripstoneBlockLayerThickness - the dripstone block layer thickness
      Returns:
      this builder
      Since:
      3.0.0
    • density

      @AsOf("3.0.0") public DripstoneClusterConfiguration.Builder density(FloatProvider density)
      Sets the density of the cluster.
      Parameters:
      density - the density
      Returns:
      this builder
      Since:
      3.0.0
    • wetness

      @AsOf("3.0.0") public DripstoneClusterConfiguration.Builder wetness(FloatProvider wetness)
      Sets the wetness of the cluster.
      Parameters:
      wetness - the wetness
      Returns:
      this builder
      Since:
      3.0.0
    • chanceOfDripstoneColumnAtMaxDistanceFromCenter

      @AsOf("3.0.0") public DripstoneClusterConfiguration.Builder chanceOfDripstoneColumnAtMaxDistanceFromCenter(float chanceOfDripstoneColumnAtMaxDistanceFromCenter)
      Sets the chance of a dripstone column generating at the maximum distance from the center.
      Parameters:
      chanceOfDripstoneColumnAtMaxDistanceFromCenter - the chance of a dripstone column at the maximum distance from the center
      Returns:
      this builder
      Since:
      3.0.0
    • maxDistanceFromEdgeAffectingChanceOfDripstoneColumn

      @AsOf("3.0.0") public DripstoneClusterConfiguration.Builder maxDistanceFromEdgeAffectingChanceOfDripstoneColumn(int maxDistanceFromEdgeAffectingChanceOfDripstoneColumn)
      Sets the maximum distance from the edge that affects the chance of a dripstone column.
      Parameters:
      maxDistanceFromEdgeAffectingChanceOfDripstoneColumn - the maximum distance from the edge affecting the chance of a dripstone column
      Returns:
      this builder
      Since:
      3.0.0
    • maxDistanceFromCenterAffectingHeightBias

      @AsOf("3.0.0") public DripstoneClusterConfiguration.Builder maxDistanceFromCenterAffectingHeightBias(int maxDistanceFromCenterAffectingHeightBias)
      Sets the maximum distance from the center that affects the height bias.
      Parameters:
      maxDistanceFromCenterAffectingHeightBias - the maximum distance from the center affecting the height bias
      Returns:
      this builder
      Since:
      3.0.0
    • build

      @AsOf("3.0.0") public DripstoneClusterConfiguration build()
      Builds the configuration.
      Returns:
      the configuration
      Since:
      3.0.0