Interface BeehiveDecorator
- All Superinterfaces:
TreeDecorator, Wrapper
Places a single beehive with the specified probability.
The beehive is always located 1 block below the lowest leaves block, but possibly on a different branch.
- Since:
- 3.0.0
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic BeehiveDecorator.Builderbuilder()Creates a new builder.static BeehiveDecoratorof(float probability) Creates a new beehive decorator.floatThe probability of placing a beehive, between 0.0F and 1.0F (inclusive).default BeehiveDecorator.BuilderConverts this object back to a builder.Methods inherited from interface Wrapper
asHandle, toMinecraft, unwrap
-
Method Details
-
probability
The probability of placing a beehive, 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 beehive decorator.- Parameters:
probability- the probability of placing a beehive, between 0.0F and 1.0F (inclusive)- Returns:
- a new beehive decorator
- Since:
- 3.0.0
-
builder
Creates a new builder.- Returns:
- a new builder
- Since:
- 3.0.0
-