Class SculkPatchConfiguration.Builder
java.lang.Object
dev.wyck.worldgen.feature.configurations.SculkPatchConfiguration.Builder
- Enclosing interface:
SculkPatchConfiguration
Builder for
SculkPatchConfiguration.- Since:
- 3.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionamountPerCharge(int amountPerCharge) Sets the amount per charge.build()Builds the configuration.catalystChance(float catalystChance) Sets the catalyst chance.chargeCount(int chargeCount) Sets the charge count.extraRareGrowths(IntProvider extraRareGrowths) Sets the extra rare growths.growthRounds(int growthRounds) Sets the growth rounds.spreadAttempts(int spreadAttempts) Sets the spread attempts.spreadRounds(int spreadRounds) Sets the spread rounds.
-
Constructor Details
-
Builder
public Builder() -
Builder
-
-
Method Details
-
chargeCount
Sets the charge count.- Parameters:
chargeCount- the charge count- Returns:
- this builder
- Since:
- 3.0.0
-
amountPerCharge
Sets the amount per charge.- Parameters:
amountPerCharge- the amount per charge- Returns:
- this builder
- Since:
- 3.0.0
-
spreadAttempts
Sets the spread attempts.- Parameters:
spreadAttempts- the spread attempts- Returns:
- this builder
- Since:
- 3.0.0
-
growthRounds
Sets the growth rounds.- Parameters:
growthRounds- the growth rounds- Returns:
- this builder
- Since:
- 3.0.0
-
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
Sets the catalyst chance.- Parameters:
catalystChance- the catalyst chance- Returns:
- this builder
- Since:
- 3.0.0
-
build
Builds the configuration.- Returns:
- the configuration
- Since:
- 3.0.0
-