Interface DripstoneClusterConfiguration
- All Superinterfaces:
FeatureConfiguration, Wrapper
@NullMarked
@AsOf("3.0.0")
public interface DripstoneClusterConfiguration
extends FeatureConfiguration
Dripstone feature found in caves.
- Since:
- 3.0.0
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classBuilder forDripstoneClusterConfiguration. -
Field Summary
Fields inherited from interface FeatureConfiguration
NONE -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a new builder.floatThe chance of a dripstone column generating at the maximum distance from the center.density()The density of the cluster.The dripstone block layer's thickness.intFor how many blocks the feature searches for the floor or ceiling.height()The height of the cluster.intThe height deviation.intThe maximum distance from the center that affects the height bias.intThe maximum distance from the edge that affects the chance of a dripstone column.intThe maximum height difference between stalagmites and stalactites.of(int floorToCeilingSearchRange, IntProvider height, IntProvider radius, int maxStalagmiteStalactiteHeightDiff, int heightDeviation, IntProvider dripstoneBlockLayerThickness, FloatProvider density, FloatProvider wetness, float chanceOfDripstoneColumnAtMaxDistanceFromCenter, int maxDistanceFromEdgeAffectingChanceOfDripstoneColumn, int maxDistanceFromCenterAffectingHeightBias) Creates a new dripstone cluster configuration.radius()The radius of the cluster.Converts this object back to a builder.wetness()The wetness of the cluster.Methods inherited from interface Wrapper
asHandle, toMinecraft, unwrap
-
Method Details
-
floorToCeilingSearchRange
For how many blocks the feature searches for the floor or ceiling. Value between 1 and 512.- Returns:
- the floor to ceiling search range
- Since:
- 3.0.0
-
height
The height of the cluster. Value between 1 and 128.- Returns:
- the cluster height
- Since:
- 3.0.0
-
radius
The radius of the cluster. Value between 1 and 128.- Returns:
- the cluster radius
- Since:
- 3.0.0
-
maxStalagmiteStalactiteHeightDiff
The maximum height difference between stalagmites and stalactites. Value between 0 and 64.- Returns:
- the maximum stalagmite to stalactite height difference
- Since:
- 3.0.0
-
heightDeviation
The height deviation. Value between 1 and 64.- Returns:
- the height deviation
- Since:
- 3.0.0
-
dripstoneBlockLayerThickness
The dripstone block layer's thickness. Value between 0 and 128.- Returns:
- the dripstone block layer thickness
- Since:
- 3.0.0
-
density
The density of the cluster. Value between 0.0 and 2.0.- Returns:
- the density
- Since:
- 3.0.0
-
wetness
The wetness of the cluster. Value between 0.0 and 2.0.- Returns:
- the wetness
- Since:
- 3.0.0
-
chanceOfDripstoneColumnAtMaxDistanceFromCenter
The chance of a dripstone column generating at the maximum distance from the center. Value between 0.0 and 1.0.- Returns:
- the chance of a dripstone column at the maximum distance from the center
- Since:
- 3.0.0
-
maxDistanceFromEdgeAffectingChanceOfDripstoneColumn
The maximum distance from the edge that affects the chance of a dripstone column. Value between 1 and 64.- Returns:
- the maximum distance from the edge affecting the chance of a dripstone column
- Since:
- 3.0.0
-
maxDistanceFromCenterAffectingHeightBias
The maximum distance from the center that affects the height bias. Value between 1 and 64.- Returns:
- the maximum distance from the center affecting the height bias
- Since:
- 3.0.0
-
toBuilder
Converts this object back to a builder.- Returns:
- a builder with the same values as this object
- Since:
- 3.0.0
-
of
@AsOf("3.0.0") static DripstoneClusterConfiguration of(int floorToCeilingSearchRange, IntProvider height, IntProvider radius, int maxStalagmiteStalactiteHeightDiff, int heightDeviation, IntProvider dripstoneBlockLayerThickness, FloatProvider density, FloatProvider wetness, float chanceOfDripstoneColumnAtMaxDistanceFromCenter, int maxDistanceFromEdgeAffectingChanceOfDripstoneColumn, int maxDistanceFromCenterAffectingHeightBias) Creates a new dripstone cluster configuration.- Parameters:
floorToCeilingSearchRange- for how many blocks the feature searches for the floor or ceilingheight- the height of the clusterradius- the radius of the clustermaxStalagmiteStalactiteHeightDiff- the maximum height difference between stalagmites and stalactitesheightDeviation- the height deviationdripstoneBlockLayerThickness- the dripstone block layer's thicknessdensity- the density of the clusterwetness- the wetness of the clusterchanceOfDripstoneColumnAtMaxDistanceFromCenter- the chance of a dripstone column at the maximum distance from the centermaxDistanceFromEdgeAffectingChanceOfDripstoneColumn- the maximum distance from the edge affecting the chance of a dripstone columnmaxDistanceFromCenterAffectingHeightBias- the maximum distance from the center affecting the height bias- Returns:
- a new dripstone cluster configuration
- Since:
- 3.0.0
-
builder
Creates a new builder.- Returns:
- a new builder
- Since:
- 3.0.0
-