Class SpeleothemConfiguration.Builder

java.lang.Object
dev.wyck.worldgen.feature.configurations.SpeleothemConfiguration.Builder
Enclosing interface:
SpeleothemConfiguration

@AsOf("3.0.0") public static final class SpeleothemConfiguration.Builder extends Object
Since:
3.0.0
  • Constructor Details

  • Method Details

    • baseBlock

      @AsOf("3.0.0") public SpeleothemConfiguration.Builder baseBlock(BlockData baseBlock)
      Sets the base block.
      Parameters:
      baseBlock - the base block
      Returns:
      this builder
      Since:
      3.0.0
    • pointedBlock

      @AsOf("3.0.0") public SpeleothemConfiguration.Builder pointedBlock(BlockData pointedBlock)
      Sets the pointed block.
      Parameters:
      pointedBlock - the pointed block
      Returns:
      this builder
      Since:
      3.0.0
    • replaceableBlocks

      @AsOf("3.0.0") public SpeleothemConfiguration.Builder replaceableBlocks(Set<Material> replaceableBlocks)
      Sets the replaceable blocks.
      Parameters:
      replaceableBlocks - the replaceable blocks
      Returns:
      this builder
      Since:
      3.0.0
    • chanceOfTallerGeneration

      @AsOf("3.0.0") public SpeleothemConfiguration.Builder chanceOfTallerGeneration(float chanceOfTallerGeneration)
      Sets the chance of double-block dripstone.
      Parameters:
      chanceOfTallerGeneration - the chance of double-block dripstone
      Returns:
      this builder
      Since:
      3.0.0
    • chanceOfDirectionalSpread

      @AsOf("3.0.0") public SpeleothemConfiguration.Builder chanceOfDirectionalSpread(float chanceOfDirectionalSpread)
      Sets the chance of horizontal spread.
      Parameters:
      chanceOfDirectionalSpread - the chance of horizontal spread
      Returns:
      this builder
      Since:
      3.0.0
    • chanceOfSpreadRadius2

      @AsOf("3.0.0") public SpeleothemConfiguration.Builder chanceOfSpreadRadius2(float chanceOfSpreadRadius2)
      Sets the chance of horizontal spread by two blocks.
      Parameters:
      chanceOfSpreadRadius2 - the chance of horizontal spread by two blocks
      Returns:
      this builder
      Since:
      3.0.0
    • chanceOfSpreadRadius3

      @AsOf("3.0.0") public SpeleothemConfiguration.Builder chanceOfSpreadRadius3(float chanceOfSpreadRadius3)
      Sets the chance of spreading the third block.
      Parameters:
      chanceOfSpreadRadius3 - the chance of spreading the third block
      Returns:
      this builder
      Since:
      3.0.0
    • baseBlock

      @AsOf("3.0.0") public SpeleothemConfiguration.Builder baseBlock(Material material)
      Sets the block state.
      Parameters:
      material - the material to derive the block state from
      Returns:
      this builder
      Since:
      3.0.0
    • pointedBlock

      @AsOf("3.0.0") public SpeleothemConfiguration.Builder pointedBlock(Material material)
      Sets the block state.
      Parameters:
      material - the material to derive the block state from
      Returns:
      this builder
      Since:
      3.0.0
    • replaceableBlock

      @AsOf("3.0.0") public SpeleothemConfiguration.Builder replaceableBlock(Material... materials)
      Adds the given block states to the replaceable blocks.
      Parameters:
      materials - the block states to add
      Returns:
      this builder
      Since:
      3.0.0
    • build

      @AsOf("3.0.0") public SpeleothemConfiguration build()
      Builds the configuration.
      Returns:
      the configuration
      Since:
      3.0.0