Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
FallenTreeTrunk Class Reference
Inheritance diagram for FallenTreeTrunk:

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 *) 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 *) const

Public Attributes

::ll::TypedStorage< 4, 8, ::IntRange > mLogLength
::ll::TypedStorage< 4, 8, ::IntRange > mHeightModifier
::ll::TypedStorage< 4, 8, ::IntRange > mStumpHeight
::ll::TypedStorage< 8, 176, ::BlockDescriptor > mTrunkBlockDescriptor
::ll::TypedStorage< 8, 24, ::WeakRef<::IFeature > > mLogDecorationFeature
::ll::TypedStorage< 8, 224, ::TreeHelper::AttachableDecoration > mDecoration

Member Function Documentation

◆ getTreeHeight()

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

Implements ITreeTrunk.

◆ placeTrunk()

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

Implements ITreeTrunk.

◆ $getTreeHeight()

MCAPI int FallenTreeTrunk::$getTreeHeight ( ::Random & random) const
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.

◆ $placeTrunk()

MCAPI ::std::optional<::BlockPos > FallenTreeTrunk::$placeTrunk ( ::IBlockWorldGenAPI & target,
::BlockPos const & pos,
::Random & random,
int treeHeight,
::RenderParams & renderParams,
::TreeHelper::TreeParams const & treeParams,
::ITreeCanopy const *  ) const
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: