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

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 void _placeBranch (::IBlockWorldGenAPI &target, ::std::vector<::BlockPos > *canopyAttachmentPositions, ::Random &random, int treeHeight, ::RenderParams &, ::TreeHelper::TreeParams const &treeParams, ::BlockPos &logPos, int currentHeight, uchar branchDir, int branchPos, int branchSteps, ::Block const *trunkBlock) 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

Static Public Member Functions

static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 4, 4, int > mBaseHeight
::ll::TypedStorage< 4, 4, int > mTrunkWidth
::ll::TypedStorage< 4, 4, int > mHeightRandA
::ll::TypedStorage< 4, 4, int > mHeightRandB
::ll::TypedStorage< 4, 8, ::IntRangemBranchLength
::ll::TypedStorage< 4, 8, ::IntRangemBranchSteps
::ll::TypedStorage< 4, 12, ::ChanceInformationmBranchChance
::ll::TypedStorage< 8, 184, ::BlockDescriptormTrunkBlockDescriptor
::ll::TypedStorage< 8, 208, ::TreeHelper::AttachableDecorationmDecoration
::ll::TypedStorage< 8, 24, ::std::vector< int > > mHeightIntervals

Member Function Documentation

◆ getTreeHeight()

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

Implements ITreeTrunk.

◆ placeTrunk()

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

Implements ITreeTrunk.

◆ $vftable()

MCAPI void ** MangroveTreeTrunk::$vftable ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

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