API Reference
On this page
Public Member Functions | |
| virtual int | getTreeHeight (::Random &random) const |
| virtual ::std::optional<::BlockPos > | placeTrunk (::IBlockWorldGenAPI &target, ::BlockPos const &pos, ::Random &random, int treeHeight, ::RenderParams &renderParams, ::TreeHelper::TreeParams const &treeParams, ::ITreeCanopy const *canopy) const |
| MCAPI int | $getTreeHeight (::Random &random) const |
| MCAPI ::std::optional<::BlockPos > | $placeTrunk (::IBlockWorldGenAPI &target, ::BlockPos const &pos, ::Random &random, int treeHeight, ::RenderParams &renderParams, ::TreeHelper::TreeParams const &treeParams, ::ITreeCanopy const *canopy) const |
Public Attributes | |
| ::ll::TypedStorage< 4, 4, int > | mBaseHeight |
| ::ll::TypedStorage< 4, 4, int > | mTrunkWidth |
| ::ll::TypedStorage< 4, 4, int > | mMinHeightForCanopy |
| ::ll::TypedStorage< 4, 8, ::IntRange > | mLeanHeight |
| ::ll::TypedStorage< 4, 8, ::IntRange > | mLeanSteps |
| ::ll::TypedStorage< 4, 8, ::IntRange > | mLeanLength |
| ::ll::TypedStorage< 1, 1, bool > | mAllowDiagonalGrowth |
| ::ll::TypedStorage< 4, 8, ::IntRange > | mBranchLength |
| ::ll::TypedStorage< 4, 8, ::IntRange > | mBranchPos |
| ::ll::TypedStorage< 4, 12, ::ChanceInformation > | mBranchChance |
| ::ll::TypedStorage< 8, 176, ::BlockDescriptor > | mTrunkBlockDescriptor |
| ::ll::TypedStorage< 8, 8, ::ITreeCanopyWrapper > | mBranchCanopy |
| ::ll::TypedStorage< 8, 224, ::TreeHelper::AttachableDecoration > | mDecoration |
| ::ll::TypedStorage< 8, 24, ::std::vector< int > > | mHeightIntervals |
|
virtual |
Implements ITreeTrunk.
|
virtual |
Implements ITreeTrunk.
| MCAPI int AcaciaTreeTrunk::$getTreeHeight | ( | ::Random & | random | ) | const |
| MCAPI ::std::optional<::BlockPos > AcaciaTreeTrunk::$placeTrunk | ( | ::IBlockWorldGenAPI & | target, |
| ::BlockPos const & | pos, | ||
| ::Random & | random, | ||
| int | treeHeight, | ||
| ::RenderParams & | renderParams, | ||
| ::TreeHelper::TreeParams const & | treeParams, | ||
| ::ITreeCanopy const * | canopy ) const |