Interface RootPlacer
- All Superinterfaces:
Wrapper
- All Known Subinterfaces:
MangroveRootPlacer
Controls the placement and shape of the roots for a tree and moving the trunk upwards.
- Since:
- 3.0.0
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionThe blocks above the root, if present.static RootPlacerstatic MangroveRootPlacer.Buildermangrove()A new builder for aMangroveRootPlacer.The block used as the root of the tree.The offset perpendicular to the trunk.Methods inherited from interface Wrapper
asHandle, toMinecraft, unwrap
-
Method Details
-
trunkOffsetY
The offset perpendicular to the trunk.- Returns:
- the trunk offset
- Since:
- 3.0.0
-
rootProvider
The block used as the root of the tree.- Returns:
- the root block state provider
- Since:
- 3.0.0
-
aboveRootPlacement
The blocks above the root, if present.- Returns:
- the above root placement, or empty if not set
- Since:
- 3.0.0
-
mangrove
A new builder for aMangroveRootPlacer.- Returns:
- a new builder
- Since:
- 3.0.0
-
decode
-