Class TwistingVinesConfig.Builder

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

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

  • Method Details

    • spreadWidth

      @AsOf("3.0.0") public TwistingVinesConfig.Builder spreadWidth(int spreadWidth)
      Sets the spread width of the vines.
      Parameters:
      spreadWidth - the spread width
      Returns:
      this builder
      Since:
      3.0.0
    • spreadHeight

      @AsOf("3.0.0") public TwistingVinesConfig.Builder spreadHeight(int spreadHeight)
      Sets the spread height of the vines.
      Parameters:
      spreadHeight - the spread height
      Returns:
      this builder
      Since:
      3.0.0
    • maxHeight

      @AsOf("3.0.0") public TwistingVinesConfig.Builder maxHeight(int maxHeight)
      Sets the maximum height of the vines.
      Parameters:
      maxHeight - the maximum height
      Returns:
      this builder
      Since:
      3.0.0
    • build

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