Interface PointedDripstoneConfiguration
- All Superinterfaces:
FeatureConfiguration, Wrapper
@NullMarked
@AsOf("3.1.0")
public interface PointedDripstoneConfiguration
extends FeatureConfiguration
Dripstone feature found in caves.
- Since:
- 3.1.0
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classBuilder forPointedDripstoneConfiguration. -
Field Summary
Fields inherited from interface FeatureConfiguration
NONE -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a new builder.floatProbability that the dripstone spreads in a horizontal direction between 0.0 and 1.0.floatProbability of horizontal spread by two blocks between 0.0 and 1.0.floatAfter the spread by two blocks, the probability of spreading the third block between 0.0 and 1.0.floatProbability for double-block dripstone between 0.0 and 1.0.of(float chanceOfTallerDripstone, float chanceOfDirectionalSpread, float chanceOfSpreadRadius2, float chanceOfSpreadRadius3) Creates a new pointed dripstone configuration.Converts this object back to a builder.Methods inherited from interface Wrapper
asHandle, toMinecraft, unwrap
-
Method Details
-
chanceOfTallerDripstone
Probability for double-block dripstone between 0.0 and 1.0.- Returns:
- the probability for double-block dripstone
- Since:
- 3.1.0
-
chanceOfDirectionalSpread
Probability that the dripstone spreads in a horizontal direction between 0.0 and 1.0.- Returns:
- the probability for horizontal spread
- Since:
- 3.1.0
-
chanceOfSpreadRadius2
Probability of horizontal spread by two blocks between 0.0 and 1.0.- Returns:
- the probability for horizontal spread by two blocks
- Since:
- 3.1.0
-
chanceOfSpreadRadius3
After the spread by two blocks, the probability of spreading the third block between 0.0 and 1.0.- Returns:
- the probability for third block spread
- Since:
- 3.1.0
-
toBuilder
Converts this object back to a builder.- Returns:
- a builder with the same values as this object
- Since:
- 3.1.0
-
of
@AsOf("3.1.0") static PointedDripstoneConfiguration of(float chanceOfTallerDripstone, float chanceOfDirectionalSpread, float chanceOfSpreadRadius2, float chanceOfSpreadRadius3) Creates a new pointed dripstone configuration.- Parameters:
chanceOfTallerDripstone- chance of double-block dripstone between 0.0 and 1.0chanceOfDirectionalSpread- chance of horizontal spread between 0.0 and 1.0chanceOfSpreadRadius2- chance of horizontal spread by two blocks between 0.0 and 1.0chanceOfSpreadRadius3- after the spread by two blocks, the probability of spreading the third block between 0.0 and 1.0- Returns:
- a new pointed dripstone configuration
- Since:
- 3.1.0
-
builder
Creates a new builder.- Returns:
- a new builder
- Since:
- 3.1.0
-