Interface FancyFoliagePlacer
- All Superinterfaces:
FoliagePlacer, Wrapper
Places a blob of foliage, used by the fancy oak (large oak) 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 TypeMethodDescriptionstatic FancyFoliagePlacer.Builderbuilder()Creates a new builder.intheight()The foliage's height, between 0 and 16 (inclusive).static FancyFoliagePlacerof(IntProvider radius, IntProvider offset, int height) Creates a new fancy foliage placer.default FancyFoliagePlacer.BuilderConverts this object back to a builder.Methods inherited from interface FoliagePlacer
offset, radiusMethods inherited from interface Wrapper
asHandle, toMinecraft, unwrap
-
Method Details
-
height
The foliage's height, between 0 and 16 (inclusive).- Returns:
- the 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
Creates a new fancy foliage placer.- Parameters:
radius- the radius of the foliageoffset- the vertical offset from the top of the trunk to the top of the foliageheight- the foliage's height, between 0 and 16 (inclusive)- Returns:
- a new fancy foliage placer
- Since:
- 3.0.0
-
builder
Creates a new builder.- Returns:
- a new builder
- Since:
- 3.0.0
-