Class SculkPatchConfiguration.Builder

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

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

  • Method Details

    • chargeCount

      @AsOf("3.0.0") public SculkPatchConfiguration.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 SculkPatchConfiguration.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 SculkPatchConfiguration.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 SculkPatchConfiguration.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 SculkPatchConfiguration.Builder spreadRounds(int spreadRounds)
      Sets the spread rounds.
      Parameters:
      spreadRounds - the spread rounds
      Returns:
      this builder
      Since:
      3.0.0
    • extraRareGrowths

      @AsOf("3.0.0") public SculkPatchConfiguration.Builder extraRareGrowths(IntProvider extraRareGrowths)
      Sets the extra rare growths.
      Parameters:
      extraRareGrowths - the extra rare growths
      Returns:
      this builder
      Since:
      3.0.0
    • catalystChance

      @AsOf("3.0.0") public SculkPatchConfiguration.Builder catalystChance(float catalystChance)
      Sets the catalyst chance.
      Parameters:
      catalystChance - the catalyst chance
      Returns:
      this builder
      Since:
      3.0.0
    • build

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