Class SpeleothemClusterConfiguration.Builder

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

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

  • Method Details

    • baseBlock

      @AsOf("3.0.0") public SpeleothemClusterConfiguration.Builder baseBlock(BlockData baseBlock)
      Sets the base block.
      Parameters:
      baseBlock - the block that the base of the cluster is made of
      Returns:
      this builder
      Since:
      3.0.0
    • pointedBlock

      @AsOf("3.0.0") public SpeleothemClusterConfiguration.Builder pointedBlock(BlockData pointedBlock)
      Sets the pointed block.
      Parameters:
      pointedBlock - the block that the pointed tips of the cluster are made of
      Returns:
      this builder
      Since:
      3.0.0
    • replaceableBlocks

      @AsOf("3.0.0") public SpeleothemClusterConfiguration.Builder replaceableBlocks(Set<Material> replaceableBlocks)
      Sets the replaceable blocks.
      Parameters:
      replaceableBlocks - the blocks that the cluster is allowed to replace
      Returns:
      this builder
      Since:
      3.0.0
    • replaceableBlocks

      @AsOf("3.0.0") public SpeleothemClusterConfiguration.Builder replaceableBlocks(Material... replaceableBlocks)
      Sets the replaceable blocks.
      Parameters:
      replaceableBlocks - the blocks that the cluster is allowed to replace
      Returns:
      this builder
      Since:
      3.0.0
    • floorToCeilingSearchRange

      @AsOf("3.0.0") public SpeleothemClusterConfiguration.Builder floorToCeilingSearchRange(int floorToCeilingSearchRange)
      Sets the floor to ceiling search range.
      Parameters:
      floorToCeilingSearchRange - the vertical distance searched between floor and ceiling
      Returns:
      this builder
      Since:
      3.0.0
    • height

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

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

      @AsOf("3.0.0") public SpeleothemClusterConfiguration.Builder maxStalagmiteStalactiteHeightDiff(int maxStalagmiteStalactiteHeightDiff)
      Sets the maximum stalagmite/stalactite height difference.
      Parameters:
      maxStalagmiteStalactiteHeightDiff - the maximum allowed height difference
      Returns:
      this builder
      Since:
      3.0.0
    • heightDeviation

      @AsOf("3.0.0") public SpeleothemClusterConfiguration.Builder heightDeviation(int heightDeviation)
      Sets the height deviation.
      Parameters:
      heightDeviation - the height deviation of the cluster
      Returns:
      this builder
      Since:
      3.0.0
    • speleothemBlockLayerThickness

      @AsOf("3.0.0") public SpeleothemClusterConfiguration.Builder speleothemBlockLayerThickness(IntProvider speleothemBlockLayerThickness)
      Sets the speleothem block layer thickness provider.
      Parameters:
      speleothemBlockLayerThickness - the thickness of the speleothem block layer
      Returns:
      this builder
      Since:
      3.0.0
    • density

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

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

      @AsOf("3.0.0") public SpeleothemClusterConfiguration.Builder chanceOfSpeleothemAtMaxDistanceFromCenter(float chanceOfSpeleothemAtMaxDistanceFromCenter)
      Sets the chance of a speleothem at the maximum distance from center.
      Parameters:
      chanceOfSpeleothemAtMaxDistanceFromCenter - the chance at the maximum distance
      Returns:
      this builder
      Since:
      3.0.0
    • maxDistanceFromEdgeAffectingChanceOfSpeleothem

      @AsOf("3.0.0") public SpeleothemClusterConfiguration.Builder maxDistanceFromEdgeAffectingChanceOfSpeleothem(int maxDistanceFromEdgeAffectingChanceOfSpeleothem)
      Sets the maximum distance from edge affecting speleothem chance.
      Parameters:
      maxDistanceFromEdgeAffectingChanceOfSpeleothem - the maximum distance from edge
      Returns:
      this builder
      Since:
      3.0.0
    • maxDistanceFromCenterAffectingHeightBias

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

      @AsOf("3.0.0") public SpeleothemClusterConfiguration build()
      Builds the speleothem cluster configuration.
      Returns:
      the speleothem cluster configuration
      Since:
      3.0.0