Class DripstoneClusterConfiguration.Builder
java.lang.Object
dev.wyck.worldgen.feature.configurations.DripstoneClusterConfiguration.Builder
- Enclosing interface:
DripstoneClusterConfiguration
Builder for
DripstoneClusterConfiguration.- Since:
- 3.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configuration.chanceOfDripstoneColumnAtMaxDistanceFromCenter(float chanceOfDripstoneColumnAtMaxDistanceFromCenter) Sets the chance of a dripstone column generating at the maximum distance from the center.density(FloatProvider density) Sets the density of the cluster.dripstoneBlockLayerThickness(IntProvider dripstoneBlockLayerThickness) Sets the dripstone block layer's thickness.floorToCeilingSearchRange(int floorToCeilingSearchRange) Sets how many blocks the feature searches for the floor or ceiling.height(IntProvider height) Sets the height of the cluster.heightDeviation(int heightDeviation) Sets the height deviation.maxDistanceFromCenterAffectingHeightBias(int maxDistanceFromCenterAffectingHeightBias) Sets the maximum distance from the center that affects the height bias.maxDistanceFromEdgeAffectingChanceOfDripstoneColumn(int maxDistanceFromEdgeAffectingChanceOfDripstoneColumn) Sets the maximum distance from the edge that affects the chance of a dripstone column.maxStalagmiteStalactiteHeightDiff(int maxStalagmiteStalactiteHeightDiff) Sets the maximum height difference between stalagmites and stalactites.radius(IntProvider radius) Sets the radius of the cluster.wetness(FloatProvider wetness) Sets the wetness of the cluster.
-
Constructor Details
-
Builder
public Builder() -
Builder
-
-
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
Sets the height of the cluster.- Parameters:
height- the cluster height- Returns:
- this builder
- Since:
- 3.0.0
-
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
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
Sets the density of the cluster.- Parameters:
density- the density- Returns:
- this builder
- Since:
- 3.0.0
-
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
Builds the configuration.- Returns:
- the configuration
- Since:
- 3.0.0
-