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

Public Member Functions

virtual ::std::optional<::BlockPos > placeCanopy (::IBlockWorldGenAPI &target, ::BlockPos const &pos, ::ITreeCanopy::BranchSize const &trunkSize, ::Random &random, ::RenderParams &, ::TreeHelper::TreeParams const &treeParams, int, ::std::vector<::ITreeCanopy::AttachmentInfo > const &) const
MCAPI void _placeLayerOfLeaves (::IBlockWorldGenAPI &target, ::Random &random, ::BlockPos const &canopyPos, int layerOffset, ::Block const &leavesBlock, int radius, ::TreeHelper::TreeParams const &treeParams) const
MCAPI void _placeLayerOfLeavesWithHangingLeavesBelow (::IBlockWorldGenAPI &target, ::Random &random, ::BlockPos const &canopyPos, int layerOffset, ::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 &random, ::RenderParams &, ::TreeHelper::TreeParams const &treeParams, int, ::std::vector<::ITreeCanopy::AttachmentInfo > const &) const

Public Attributes

::ll::TypedStorage< 8, 176, ::BlockDescriptor > mLeavesBlockDescriptor
::ll::TypedStorage< 4, 8, ::IntRange > mHeight
::ll::TypedStorage< 4, 8, ::IntRange > mRadius
::ll::TypedStorage< 4, 4, int > mTrunkWidth
::ll::TypedStorage< 4, 12, ::ChanceInformation > mWideBottomLayerHoleChance
::ll::TypedStorage< 4, 12, ::ChanceInformation > mCornerHoleChance
::ll::TypedStorage< 4, 12, ::ChanceInformation > mHangingLeavesChance
::ll::TypedStorage< 4, 12, ::ChanceInformation > mHangingLeavesExtensionChance

Member Function Documentation

◆ placeCanopy()

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

Implements ITreeCanopy.

◆ _placeLayerOfLeaves()

MCAPI void CherryTreeCanopy::_placeLayerOfLeaves ( ::IBlockWorldGenAPI & target,
::Random & random,
::BlockPos const & canopyPos,
int layerOffset,
::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.

◆ _placeLayerOfLeavesWithHangingLeavesBelow()

MCAPI void CherryTreeCanopy::_placeLayerOfLeavesWithHangingLeavesBelow ( ::IBlockWorldGenAPI & target,
::Random & random,
::BlockPos const & canopyPos,
int layerOffset,
::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 > CherryTreeCanopy::$placeCanopy ( ::IBlockWorldGenAPI & target,
::BlockPos const & pos,
::ITreeCanopy::BranchSize const & trunkSize,
::Random & 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: