Record Class FeatureConfiguration.LargeDripstoneConfiguration
java.lang.Object
java.lang.Record
dev.wyck.wrapper.worldgen.feature.config.FeatureConfiguration.LargeDripstoneConfiguration
- All Implemented Interfaces:
Wrapper, FeatureConfiguration
- Enclosing interface:
FeatureConfiguration
@AsOf("3.0.0")
public static record FeatureConfiguration.LargeDripstoneConfiguration(int floorToCeilingSearchRange, IntProvider columnRadius, FloatProvider heightScale, float maxColumnRadiusToCaveHeightRatio, FloatProvider stalactiteBluntness, FloatProvider stalagmiteBluntness, FloatProvider windSpeed, int minRadiusForWind, float minBluntnessForWind)
extends Record
implements FeatureConfiguration
A large dripstone.
- 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
ConstructorsConstructorDescriptionLargeDripstoneConfiguration(int floorToCeilingSearchRange, IntProvider columnRadius, FloatProvider heightScale, float maxColumnRadiusToCaveHeightRatio, FloatProvider stalactiteBluntness, FloatProvider stalagmiteBluntness, FloatProvider windSpeed, int minRadiusForWind, float minBluntnessForWind) Creates an instance of aLargeDripstoneConfigurationrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Returns the value of thecolumnRadiusrecord 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.Returns the value of theheightScalerecord component.floatReturns the value of themaxColumnRadiusToCaveHeightRatiorecord component.floatReturns the value of theminBluntnessForWindrecord component.intReturns the value of theminRadiusForWindrecord component.Returns the value of thestalactiteBluntnessrecord component.Returns the value of thestalagmiteBluntnessrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thewindSpeedrecord component.Methods inherited from interface FeatureConfiguration
toMinecraft
-
Constructor Details
-
LargeDripstoneConfiguration
@AsOf("3.0.0") public LargeDripstoneConfiguration(int floorToCeilingSearchRange, IntProvider columnRadius, FloatProvider heightScale, float maxColumnRadiusToCaveHeightRatio, FloatProvider stalactiteBluntness, FloatProvider stalagmiteBluntness, FloatProvider windSpeed, int minRadiusForWind, float minBluntnessForWind) Creates an instance of aLargeDripstoneConfigurationrecord class.- Parameters:
floorToCeilingSearchRange- the value for thefloorToCeilingSearchRangerecord componentcolumnRadius- the value for thecolumnRadiusrecord componentheightScale- the value for theheightScalerecord componentmaxColumnRadiusToCaveHeightRatio- the value for themaxColumnRadiusToCaveHeightRatiorecord componentstalactiteBluntness- the value for thestalactiteBluntnessrecord componentstalagmiteBluntness- the value for thestalagmiteBluntnessrecord componentwindSpeed- the value for thewindSpeedrecord componentminRadiusForWind- the value for theminRadiusForWindrecord componentminBluntnessForWind- the value for theminBluntnessForWindrecord 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
-
columnRadius
Returns the value of thecolumnRadiusrecord component.- Returns:
- the value of the
columnRadiusrecord component
-
heightScale
Returns the value of theheightScalerecord component.- Returns:
- the value of the
heightScalerecord component
-
maxColumnRadiusToCaveHeightRatio
public float maxColumnRadiusToCaveHeightRatio()Returns the value of themaxColumnRadiusToCaveHeightRatiorecord component.- Returns:
- the value of the
maxColumnRadiusToCaveHeightRatiorecord component
-
stalactiteBluntness
Returns the value of thestalactiteBluntnessrecord component.- Returns:
- the value of the
stalactiteBluntnessrecord component
-
stalagmiteBluntness
Returns the value of thestalagmiteBluntnessrecord component.- Returns:
- the value of the
stalagmiteBluntnessrecord component
-
windSpeed
Returns the value of thewindSpeedrecord component.- Returns:
- the value of the
windSpeedrecord component
-
minRadiusForWind
public int minRadiusForWind()Returns the value of theminRadiusForWindrecord component.- Returns:
- the value of the
minRadiusForWindrecord component
-
minBluntnessForWind
public float minBluntnessForWind()Returns the value of theminBluntnessForWindrecord component.- Returns:
- the value of the
minBluntnessForWindrecord component
-