Class CreakingHeartDecorator.Builder
java.lang.Object
dev.wyck.worldgen.feature.treedecorators.CreakingHeartDecorator.Builder
- Enclosing interface:
CreakingHeartDecorator
Builder for
CreakingHeartDecorator.- Since:
- 3.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the creaking heart decorator.probability(float probability) Sets the probability of placing a creaking heart, between 0.0F and 1.0F (inclusive).
-
Constructor Details
-
Builder
public Builder() -
Builder
-
-
Method Details
-
probability
Sets the probability of placing a creaking heart, between 0.0F and 1.0F (inclusive).- Parameters:
probability- the probability- Returns:
- this builder
- Since:
- 3.0.0
-
build
Builds the creaking heart decorator.- Returns:
- a new creaking heart decorator
- Since:
- 3.0.0
-