Class SculkPatchFeature.Builder
java.lang.Object
dev.wyck.worldgen.feature.configurations.SculkPatchFeature.Builder
- Enclosing interface:
SculkPatchFeature
Builder for
SculkPatchFeature.- Since:
- 3.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionamountPerCharge(int amountPerCharge) Sets the amount per charge.build()Builds the configuration.chargeCount(int chargeCount) Sets the charge count.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
-
build
Builds the configuration.- Returns:
- the configuration
- Since:
- 3.0.0
-