Interface ShelfMushroomDecorator
- All Superinterfaces:
TreeDecorator, Wrapper
Places shelf mushrooms on standing trees and fallen logs.
- Since:
- 4.0.0
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a new builder.static ShelfMushroomDecoratorof(float probability) Creates a shelf mushroom decorator.floatThe probability that shelf mushrooms are placed.default ShelfMushroomDecorator.BuilderConverts this object back to a builder.Methods inherited from interface Wrapper
asHandle, toMinecraft, unwrap
-
Method Details
-
probability
The probability that shelf mushrooms are placed.- Returns:
- the placement probability
- Since:
- 4.0.0
-
toBuilder
Converts this object back to a builder.- Returns:
- a builder containing the same value
- Since:
- 4.0.0
-
of
Creates a shelf mushroom decorator.- Parameters:
probability- the placement probability, between 0 and 1- Returns:
- a new shelf mushroom decorator
- Since:
- 4.0.0
-
builder
Creates a new builder.- Returns:
- a new shelf mushroom decorator builder
- Since:
- 4.0.0
-