Interface ForkingTrunkPlacer
- All Superinterfaces:
TrunkPlacer, Wrapper
Places a trunk with 1 or 2 branches, with an overhang of 1 to 3 blocks.
Foliage is attached to the top of each branch.
- Since:
- 3.0.0
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface TrunkPlacer
TrunkPlacer.TrunkPlacerBuilder<T,P> -
Field Summary
Fields inherited from interface TrunkPlacer
MAX_BASE_HEIGHT, MAX_RAND -
Method Summary
Modifier and TypeMethodDescriptionstatic ForkingTrunkPlacer.Builderbuilder()Creates a new builder.static ForkingTrunkPlacerof(int baseHeight, int heightRandA, int heightRandB) Creates a new forking trunk placer.default ForkingTrunkPlacer.BuilderConverts this object back to a builder.Methods inherited from interface TrunkPlacer
baseHeight, heightRandA, heightRandBMethods inherited from interface Wrapper
asHandle, toMinecraft, unwrap
-
Method Details
-
toBuilder
Converts this object back to a builder.- Returns:
- the builder
- Since:
- 3.0.0
-
of
Creates a new forking trunk placer.- Parameters:
baseHeight- the height of the trunkheightRandA- the random height modifierheightRandB- the random height modifier- Returns:
- a new forking trunk placer
- Since:
- 3.0.0
-
builder
Creates a new builder.- Returns:
- a new builder
- Since:
- 3.0.0
-