Interface StraightTrunkPlacer
- All Superinterfaces:
TrunkPlacer, Wrapper
Places a straight trunk of specified height.
Foliage is attached to be block above the highest trunk block.
- 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 StraightTrunkPlacer.Builderbuilder()Creates a new straight trunk placer builder.static StraightTrunkPlacerof(int baseHeight, int heightRandA, int heightRandB) Creates a new straight trunk placer.default StraightTrunkPlacer.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 straight trunk placer.- Parameters:
baseHeight- the height of the trunkheightRandA- the random height modifierheightRandB- the random height modifier- Returns:
- a new straight trunk placer
- Since:
- 3.0.0
-
builder
Creates a new straight trunk placer builder.- Returns:
- a new straight trunk placer builder
- Since:
- 3.0.0
-