Interface MegaPineFoliagePlacer
- All Superinterfaces:
FoliagePlacer, Wrapper
Places the foliage of a mega pine (giant spruce) tree.
- Since:
- 3.0.0
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface FoliagePlacer
FoliagePlacer.FoliagePlacerBuilder<T,P> -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a new builder.The height of the crown, between 0 and 24 (inclusive).static MegaPineFoliagePlacerof(IntProvider radius, IntProvider offset, IntProvider crownHeight) Creates a new mega pine foliage placer.default MegaPineFoliagePlacer.BuilderConverts this object back to a builder.Methods inherited from interface FoliagePlacer
offset, radiusMethods inherited from interface Wrapper
asHandle, toMinecraft, unwrap
-
Method Details
-
crownHeight
The height of the crown, between 0 and 24 (inclusive).- Returns:
- the crown height
- 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
@AsOf("3.0.0") static MegaPineFoliagePlacer of(IntProvider radius, IntProvider offset, IntProvider crownHeight) Creates a new mega pine foliage placer.- Parameters:
radius- the radius of the foliageoffset- the vertical offset from the top of the trunk to the top of the foliagecrownHeight- the height of the crown, between 0 and 24 (inclusive)- Returns:
- a new mega pine foliage placer
- Since:
- 3.0.0
-
builder
Creates a new builder.- Returns:
- a new builder
- Since:
- 3.0.0
-