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, ::std::vector<::BlockPos > const &, ::std::vector<::ITreeCanopy::BranchSize > 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, ::std::vector<::BlockPos > const &, ::std::vector<::ITreeCanopy::BranchSize > 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,
::std::vector<::BlockPos > const & ,
::std::vector<::ITreeCanopy::BranchSize > const &  ) const
virtual

Implements ITreeCanopy.


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