Class SculkPatchFeature.Builder

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

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

    • Builder

      public Builder()
    • Builder

      public Builder(SculkPatchFeature configuration)
  • Method Details

    • chargeCount

      @AsOf("3.0.0") public SculkPatchFeature.Builder chargeCount(int chargeCount)
      Sets the charge count.
      Parameters:
      chargeCount - the charge count
      Returns:
      this builder
      Since:
      3.0.0
    • amountPerCharge

      @AsOf("3.0.0") public SculkPatchFeature.Builder amountPerCharge(int amountPerCharge)
      Sets the amount per charge.
      Parameters:
      amountPerCharge - the amount per charge
      Returns:
      this builder
      Since:
      3.0.0
    • spreadAttempts

      @AsOf("3.0.0") public SculkPatchFeature.Builder spreadAttempts(int spreadAttempts)
      Sets the spread attempts.
      Parameters:
      spreadAttempts - the spread attempts
      Returns:
      this builder
      Since:
      3.0.0
    • growthRounds

      @AsOf("3.0.0") public SculkPatchFeature.Builder growthRounds(int growthRounds)
      Sets the growth rounds.
      Parameters:
      growthRounds - the growth rounds
      Returns:
      this builder
      Since:
      3.0.0
    • spreadRounds

      @AsOf("3.0.0") public SculkPatchFeature.Builder spreadRounds(int spreadRounds)
      Sets the spread rounds.
      Parameters:
      spreadRounds - the spread rounds
      Returns:
      this builder
      Since:
      3.0.0
    • build

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