Class FoliagePlacer.FoliagePlacerBuilder<T,P>
java.lang.Object
dev.wyck.worldgen.feature.foliageplacers.FoliagePlacer.FoliagePlacerBuilder<T,P>
- Type Parameters:
T- the builder typeP- the foliage placer type
- Direct Known Subclasses:
AcaciaFoliagePlacer.Builder, BlobFoliagePlacer.Builder, BushFoliagePlacer.Builder, CherryFoliagePlacer.Builder, DarkOakFoliagePlacer.Builder, FancyFoliagePlacer.Builder, MegaJungleFoliagePlacer.Builder, MegaPineFoliagePlacer.Builder, PineFoliagePlacer.Builder, RandomSpreadFoliagePlacer.Builder, SpruceFoliagePlacer.Builder
- Enclosing interface:
FoliagePlacer
A builder for
FoliagePlacers.- Since:
- 3.0.0
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal Pbuild()Builds the foliage placer.protected abstract Pcreate()offset(IntProvider offset) Sets the vertical offset from the top of the trunk to the top of the foliage.radius(IntProvider radius) Sets the radius of the foliage.
-
Field Details
-
radius
-
offset
-
-
Constructor Details
-
FoliagePlacerBuilder
public FoliagePlacerBuilder() -
FoliagePlacerBuilder
-
-
Method Details
-
radius
Sets the radius of the foliage.- Parameters:
radius- the radius- Returns:
- this builder
- Since:
- 3.0.0
-
offset
Sets the vertical offset from the top of the trunk to the top of the foliage.- Parameters:
offset- the offset- Returns:
- this builder
- Since:
- 3.0.0
-
build
-
create
-