Interface DarkOakTrunkPlacer
- All Superinterfaces:
TrunkPlacer, Wrapper
Places a 2×2 trunk of the specified height.
Additionally, places columns of branches in a 4×4 area around the stem in the topmost 5 blocks of the trunk.
Foliage is attached to the top of the trunk as well as 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 DarkOakTrunkPlacer.Builderbuilder()Creates a new builder.static DarkOakTrunkPlacerof(int baseHeight, int heightRandA, int heightRandB) Creates a new dark oak trunk placer.default DarkOakTrunkPlacer.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 dark oak trunk placer.- Parameters:
baseHeight- the height of the trunkheightRandA- the random height modifierheightRandB- the random height modifier- Returns:
- a new dark oak trunk placer
- Since:
- 3.0.0
-
builder
Creates a new builder.- Returns:
- a new builder
- Since:
- 3.0.0
-