Interface GiantTrunkPlacer
- All Superinterfaces:
TrunkPlacer, Wrapper
Places a 2×2 trunk of the specified height, except the topmost block is only a single block.
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 GiantTrunkPlacer.Builderbuilder()Creates a new builderstatic GiantTrunkPlacerof(int baseHeight, int heightRandA, int heightRandB) Creates a new giant trunk placer.default GiantTrunkPlacer.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 giant trunk placer.- Parameters:
baseHeight- the height of the trunkheightRandA- the random height modifierheightRandB- the random height modifier- Returns:
- a new giant trunk placer
- Since:
- 3.0.0
-
builder
Creates a new builder- Returns:
- a new builder
- Since:
- 3.0.0
-