Interface LeaveVineDecorator
- All Superinterfaces:
TreeDecorator, Wrapper
Places vines attached to any foliage blocks.
Each vine is extended by 4 blocks downwards if possible.
- Since:
- 3.0.0
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic LeaveVineDecorator.Builderbuilder()Creates a new builder.static LeaveVineDecoratorof(float probability) Creates a new leave vine decorator.floatThe probability of placing a vine at any given position, between 0.0F and 1.0F (inclusive).default LeaveVineDecorator.BuilderConverts this object back to a builder.Methods inherited from interface Wrapper
asHandle, toMinecraft, unwrap
-
Method Details
-
probability
The probability of placing a vine at any given position, between 0.0F and 1.0F (inclusive).- Returns:
- the probability
- Since:
- 3.0.0
-
toBuilder
Converts this object back to a builder.- Returns:
- a builder with the same values as this object
- Since:
- 3.0.0
-
of
Creates a new leave vine decorator.- Parameters:
probability- the probability of placing a vine at any given position, between 0.0F and 1.0F (inclusive)- Returns:
- a new leave vine decorator
- Since:
- 3.0.0
-
builder
Creates a new builder.- Returns:
- a new builder
- Since:
- 3.0.0
-