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

Public Member Functions

virtual ::std::optional<::BlockPos > placeCanopy (::IBlockWorldGenAPI &target, ::BlockPos const &pos, ::ITreeCanopy::BranchSize const &trunkSize, ::Random &, ::RenderParams &, ::TreeHelper::TreeParams const &treeParams, int, ::std::vector<::ITreeCanopy::AttachmentInfo > const &) const
MCAPI ::std::optional<::BlockPos > _fillLayer (::IBlockWorldGenAPI &target, ::BlockPos const &pos, ::Block const &leavesBlock, int radius, ::TreeHelper::TreeParams const &treeParams) const
MCAPI ::std::optional<::BlockPos > $placeCanopy (::IBlockWorldGenAPI &target, ::BlockPos const &pos, ::ITreeCanopy::BranchSize const &trunkSize, ::Random &, ::RenderParams &, ::TreeHelper::TreeParams const &treeParams, int, ::std::vector<::ITreeCanopy::AttachmentInfo > const &) const

Public Attributes

::ll::TypedStorage< 4, 4, int > mHeight
::ll::TypedStorage< 4, 4, int > mRadius
::ll::TypedStorage< 8, 176, ::BlockDescriptor > mLeavesBlockDescriptor

Member Function Documentation

◆ placeCanopy()

virtual ::std::optional<::BlockPos > FancyTreeCanopy::placeCanopy ( ::IBlockWorldGenAPI & target,
::BlockPos const & pos,
::ITreeCanopy::BranchSize const & trunkSize,
::Random & ,
::RenderParams & ,
::TreeHelper::TreeParams const & treeParams,
int ,
::std::vector<::ITreeCanopy::AttachmentInfo > const &  ) const
virtual

Implements ITreeCanopy.

◆ _fillLayer()

MCAPI ::std::optional<::BlockPos > FancyTreeCanopy::_fillLayer ( ::IBlockWorldGenAPI & target,
::BlockPos const & pos,
::Block const & leavesBlock,
int radius,
::TreeHelper::TreeParams const & treeParams ) 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.

◆ $placeCanopy()

MCAPI ::std::optional<::BlockPos > FancyTreeCanopy::$placeCanopy ( ::IBlockWorldGenAPI & target,
::BlockPos const & pos,
::ITreeCanopy::BranchSize const & trunkSize,
::Random & ,
::RenderParams & ,
::TreeHelper::TreeParams const & treeParams,
int ,
::std::vector<::ITreeCanopy::AttachmentInfo > 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: