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