Record Class FeatureConfiguration.PointedDripstoneConfiguration
java.lang.Object
java.lang.Record
dev.wyck.wrapper.worldgen.feature.config.FeatureConfiguration.PointedDripstoneConfiguration
- All Implemented Interfaces:
Wrapper, FeatureConfiguration
- Enclosing interface:
FeatureConfiguration
@AsOf("3.0.0")
public static record FeatureConfiguration.PointedDripstoneConfiguration(float chanceOfTallerDripstone, float chanceOfDirectionalSpread, float chanceOfSpreadRadius2, float chanceOfSpreadRadius3)
extends Record
implements FeatureConfiguration
Pointed dripstone spread chances.
- 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
FieldsFields inherited from interface FeatureConfiguration
WIRE -
Constructor Summary
ConstructorsConstructorDescriptionPointedDripstoneConfiguration(float chanceOfTallerDripstone, float chanceOfDirectionalSpread, float chanceOfSpreadRadius2, float chanceOfSpreadRadius3) Creates an instance of aPointedDripstoneConfigurationrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()floatReturns the value of thechanceOfDirectionalSpreadrecord component.floatReturns the value of thechanceOfSpreadRadius2record component.floatReturns the value of thechanceOfSpreadRadius3record component.floatReturns the value of thechanceOfTallerDripstonerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.Methods inherited from interface FeatureConfiguration
toMinecraft
-
Field Details
-
DEFAULT
-
-
Constructor Details
-
PointedDripstoneConfiguration
@AsOf("3.0.0") public PointedDripstoneConfiguration(float chanceOfTallerDripstone, float chanceOfDirectionalSpread, float chanceOfSpreadRadius2, float chanceOfSpreadRadius3) Creates an instance of aPointedDripstoneConfigurationrecord class.- Parameters:
chanceOfTallerDripstone- the value for thechanceOfTallerDripstonerecord componentchanceOfDirectionalSpread- the value for thechanceOfDirectionalSpreadrecord componentchanceOfSpreadRadius2- the value for thechanceOfSpreadRadius2record componentchanceOfSpreadRadius3- the value for thechanceOfSpreadRadius3record component
-
-
Method Details
-
toBuilder
-
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. All components in this record class are compared with thecomparemethod from their corresponding wrapper classes. -
chanceOfTallerDripstone
public float chanceOfTallerDripstone()Returns the value of thechanceOfTallerDripstonerecord component.- Returns:
- the value of the
chanceOfTallerDripstonerecord component
-
chanceOfDirectionalSpread
public float chanceOfDirectionalSpread()Returns the value of thechanceOfDirectionalSpreadrecord component.- Returns:
- the value of the
chanceOfDirectionalSpreadrecord component
-
chanceOfSpreadRadius2
public float chanceOfSpreadRadius2()Returns the value of thechanceOfSpreadRadius2record component.- Returns:
- the value of the
chanceOfSpreadRadius2record component
-
chanceOfSpreadRadius3
public float chanceOfSpreadRadius3()Returns the value of thechanceOfSpreadRadius3record component.- Returns:
- the value of the
chanceOfSpreadRadius3record component
-