LeviLamina
Loading...
Searching...
No Matches
AcaciaTreeTrunk Class Reference
Inheritance diagram for AcaciaTreeTrunk:

Public Member Functions

virtual int getTreeHeight (::Random &random) const
virtual ::std::optional<::BlockPosplaceTrunk (::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, ::IntRangemLeanHeight
::ll::TypedStorage< 4, 8, ::IntRangemLeanSteps
::ll::TypedStorage< 4, 8, ::IntRangemLeanLength
::ll::TypedStorage< 1, 1, bool > mAllowDiagonalGrowth
::ll::TypedStorage< 4, 8, ::IntRangemBranchLength
::ll::TypedStorage< 4, 8, ::IntRangemBranchPos
::ll::TypedStorage< 4, 12, ::ChanceInformationmBranchChance
::ll::TypedStorage< 8, 176, ::BlockDescriptormTrunkBlockDescriptor
::ll::TypedStorage< 8, 8, ::ITreeCanopyWrappermBranchCanopy
::ll::TypedStorage< 8, 224, ::TreeHelper::AttachableDecorationmDecoration
::ll::TypedStorage< 8, 24, ::std::vector< int > > mHeightIntervals

Member Function Documentation

◆ getTreeHeight()

virtual int AcaciaTreeTrunk::getTreeHeight ( ::Random & random) const
virtual

Implements ITreeTrunk.

◆ placeTrunk()

virtual ::std::optional<::BlockPos > AcaciaTreeTrunk::placeTrunk ( ::IBlockWorldGenAPI & target,
::BlockPos const & pos,
::Random & random,
int treeHeight,
::RenderParams & renderParams,
::TreeHelper::TreeParams const & treeParams,
::ITreeCanopy const * canopy ) const
virtual

Implements ITreeTrunk.


The documentation for this class was generated from the following file: