Class GeodeCrackSettings.Builder
java.lang.Object
dev.wyck.worldgen.feature.configurations.geode.GeodeCrackSettings.Builder
- Enclosing interface:
GeodeCrackSettings
Builder for
GeodeCrackSettings.- Since:
- 3.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbaseCrackSize(double baseCrackSize) Sets the base size of the crack.build()Builds the settings.crackPointOffset(int crackPointOffset) Sets the offset of the crack point.generateCrackChance(double generateCrackChance) Sets the probability for generating a crack.
-
Constructor Details
-
Builder
public Builder() -
Builder
-
-
Method Details
-
generateCrackChance
Sets the probability for generating a crack.- Parameters:
generateCrackChance- the crack generation chance- Returns:
- this builder
- Since:
- 3.0.0
-
baseCrackSize
Sets the base size of the crack.- Parameters:
baseCrackSize- the base crack size- Returns:
- this builder
- Since:
- 3.0.0
-
crackPointOffset
Sets the offset of the crack point.- Parameters:
crackPointOffset- the crack point offset- Returns:
- this builder
- Since:
- 3.0.0
-
build
Builds the settings.- Returns:
- the settings
- Since:
- 3.0.0
-