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