Interface SpeleothemConfiguration

All Superinterfaces:
FeatureConfiguration, Wrapper

@NullMarked @AsOf("3.0.0") public interface SpeleothemConfiguration extends FeatureConfiguration
Dripstone feature found in caves.
Since:
3.0.0
See Also:
  • Method Details

    • baseBlock

      @AsOf("3.0.0") BlockData baseBlock()
      Describes the block forming the base of the speleothem.
      Returns:
      the base block
      Since:
      3.0.0
    • pointedBlock

      @AsOf("3.0.0") BlockData pointedBlock()
      Describes the block creating the columns of the speleothem.
      Returns:
      the pointed block
      Since:
      3.0.0
    • replaceableBlocks

      @AsOf("3.0.0") Set<Material> replaceableBlocks()
      Describes which blocks the feature can generate on.
      Returns:
      the replaceable blocks
      Since:
      3.0.0
    • chanceOfTallerGeneration

      @AsOf("3.0.0") float chanceOfTallerGeneration()
      Probability for double-block dripstone between 0.0 and 1.0.
      Returns:
      the probability for double-block dripstone
      Since:
      3.0.0
    • chanceOfDirectionalSpread

      @AsOf("3.0.0") float chanceOfDirectionalSpread()
      Probability that the dripstone spreads in a horizontal direction between 0.0 and 1.0.
      Returns:
      the probability for horizontal spread
      Since:
      3.0.0
    • chanceOfSpreadRadius2

      @AsOf("3.0.0") float 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.0.0
    • chanceOfSpreadRadius3

      @AsOf("3.0.0") float 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.0.0
    • toBuilder

      @AsOf("3.0.0") default SpeleothemConfiguration.Builder 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 SpeleothemConfiguration of(BlockData baseBlock, BlockData pointedBlock, Set<Material> replaceableBlocks, float chanceOfTallerDripstone, float chanceOfDirectionalSpread, float chanceOfSpreadRadius2, float chanceOfSpreadRadius3)
      Creates a new pointed dripstone configuration.
      Parameters:
      baseBlock - the base block
      pointedBlock - the pointed block
      replaceableBlocks - the replaceable blocks
      chanceOfTallerDripstone - chance of double-block dripstone between 0.0 and 1.0
      chanceOfDirectionalSpread - chance of horizontal spread between 0.0 and 1.0
      chanceOfSpreadRadius2 - chance of horizontal spread by two blocks between 0.0 and 1.0
      chanceOfSpreadRadius3 - 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.0.0
    • builder

      @AsOf("3.0.0") static SpeleothemConfiguration.Builder builder()
      Creates a new builder.
      Returns:
      a new builder
      Since:
      3.0.0