Record Class FeatureConfiguration.DripstoneClusterConfiguration
java.lang.Object
java.lang.Record
dev.wyck.wrapper.worldgen.feature.config.FeatureConfiguration.DripstoneClusterConfiguration
- All Implemented Interfaces:
Wrapper, FeatureConfiguration
- Enclosing interface:
FeatureConfiguration
@AsOf("3.0.0")
public static record FeatureConfiguration.DripstoneClusterConfiguration(int floorToCeilingSearchRange, IntProvider height, IntProvider radius, int maxStalagmiteStalactiteHeightDiff, int heightDeviation, IntProvider dripstoneBlockLayerThickness, FloatProvider density, FloatProvider wetness, float chanceOfDripstoneColumnAtMaxDistanceFromCenter, int maxDistanceFromEdgeAffectingChanceOfDripstoneColumn, int maxDistanceFromCenterAffectingHeightBias)
extends Record
implements FeatureConfiguration
A dripstone cluster.
- Since:
- 3.0.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classNested classes/interfaces inherited from interface FeatureConfiguration
FeatureConfiguration.ColumnConfiguration, FeatureConfiguration.CountConfiguration, FeatureConfiguration.DripstoneClusterConfiguration, FeatureConfiguration.Factory, FeatureConfiguration.LargeDripstoneConfiguration, FeatureConfiguration.NoneConfiguration, FeatureConfiguration.PointedDripstoneConfiguration, FeatureConfiguration.ProbabilityConfiguration, FeatureConfiguration.SculkPatchConfigurationNested classes/interfaces inherited from interface Wrapper
Wrapper.Context<C> -
Field Summary
Fields inherited from interface FeatureConfiguration
WIRE -
Constructor Summary
ConstructorsConstructorDescriptionDripstoneClusterConfiguration(int floorToCeilingSearchRange, IntProvider height, IntProvider radius, int maxStalagmiteStalactiteHeightDiff, int heightDeviation, IntProvider dripstoneBlockLayerThickness, FloatProvider density, FloatProvider wetness, float chanceOfDripstoneColumnAtMaxDistanceFromCenter, int maxDistanceFromEdgeAffectingChanceOfDripstoneColumn, int maxDistanceFromCenterAffectingHeightBias) Creates an instance of aDripstoneClusterConfigurationrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()floatReturns the value of thechanceOfDripstoneColumnAtMaxDistanceFromCenterrecord component.density()Returns the value of thedensityrecord component.Returns the value of thedripstoneBlockLayerThicknessrecord component.final booleanIndicates whether some other object is "equal to" this one.intReturns the value of thefloorToCeilingSearchRangerecord component.final inthashCode()Returns a hash code value for this object.height()Returns the value of theheightrecord component.intReturns the value of theheightDeviationrecord component.intReturns the value of themaxDistanceFromCenterAffectingHeightBiasrecord component.intReturns the value of themaxDistanceFromEdgeAffectingChanceOfDripstoneColumnrecord component.intReturns the value of themaxStalagmiteStalactiteHeightDiffrecord component.radius()Returns the value of theradiusrecord component.final StringtoString()Returns a string representation of this record class.wetness()Returns the value of thewetnessrecord component.Methods inherited from interface FeatureConfiguration
toMinecraft
-
Constructor Details
-
DripstoneClusterConfiguration
@AsOf("3.0.0") public DripstoneClusterConfiguration(int floorToCeilingSearchRange, IntProvider height, IntProvider radius, int maxStalagmiteStalactiteHeightDiff, int heightDeviation, IntProvider dripstoneBlockLayerThickness, FloatProvider density, FloatProvider wetness, float chanceOfDripstoneColumnAtMaxDistanceFromCenter, int maxDistanceFromEdgeAffectingChanceOfDripstoneColumn, int maxDistanceFromCenterAffectingHeightBias) Creates an instance of aDripstoneClusterConfigurationrecord class.- Parameters:
floorToCeilingSearchRange- the value for thefloorToCeilingSearchRangerecord componentheight- the value for theheightrecord componentradius- the value for theradiusrecord componentmaxStalagmiteStalactiteHeightDiff- the value for themaxStalagmiteStalactiteHeightDiffrecord componentheightDeviation- the value for theheightDeviationrecord componentdripstoneBlockLayerThickness- the value for thedripstoneBlockLayerThicknessrecord componentdensity- the value for thedensityrecord componentwetness- the value for thewetnessrecord componentchanceOfDripstoneColumnAtMaxDistanceFromCenter- the value for thechanceOfDripstoneColumnAtMaxDistanceFromCenterrecord componentmaxDistanceFromEdgeAffectingChanceOfDripstoneColumn- the value for themaxDistanceFromEdgeAffectingChanceOfDripstoneColumnrecord componentmaxDistanceFromCenterAffectingHeightBias- the value for themaxDistanceFromCenterAffectingHeightBiasrecord component
-
-
Method Details
-
builder
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
floorToCeilingSearchRange
public int floorToCeilingSearchRange()Returns the value of thefloorToCeilingSearchRangerecord component.- Returns:
- the value of the
floorToCeilingSearchRangerecord component
-
height
Returns the value of theheightrecord component.- Returns:
- the value of the
heightrecord component
-
radius
Returns the value of theradiusrecord component.- Returns:
- the value of the
radiusrecord component
-
maxStalagmiteStalactiteHeightDiff
public int maxStalagmiteStalactiteHeightDiff()Returns the value of themaxStalagmiteStalactiteHeightDiffrecord component.- Returns:
- the value of the
maxStalagmiteStalactiteHeightDiffrecord component
-
heightDeviation
public int heightDeviation()Returns the value of theheightDeviationrecord component.- Returns:
- the value of the
heightDeviationrecord component
-
dripstoneBlockLayerThickness
Returns the value of thedripstoneBlockLayerThicknessrecord component.- Returns:
- the value of the
dripstoneBlockLayerThicknessrecord component
-
density
Returns the value of thedensityrecord component.- Returns:
- the value of the
densityrecord component
-
wetness
Returns the value of thewetnessrecord component.- Returns:
- the value of the
wetnessrecord component
-
chanceOfDripstoneColumnAtMaxDistanceFromCenter
public float chanceOfDripstoneColumnAtMaxDistanceFromCenter()Returns the value of thechanceOfDripstoneColumnAtMaxDistanceFromCenterrecord component.- Returns:
- the value of the
chanceOfDripstoneColumnAtMaxDistanceFromCenterrecord component
-
maxDistanceFromEdgeAffectingChanceOfDripstoneColumn
public int maxDistanceFromEdgeAffectingChanceOfDripstoneColumn()Returns the value of themaxDistanceFromEdgeAffectingChanceOfDripstoneColumnrecord component.- Returns:
- the value of the
maxDistanceFromEdgeAffectingChanceOfDripstoneColumnrecord component
-
maxDistanceFromCenterAffectingHeightBias
public int maxDistanceFromCenterAffectingHeightBias()Returns the value of themaxDistanceFromCenterAffectingHeightBiasrecord component.- Returns:
- the value of the
maxDistanceFromCenterAffectingHeightBiasrecord component
-