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

Classes

struct  WeightedInt

Public Member Functions

virtual ::std::optional<::BlockPos > placeCanopy (::IBlockWorldGenAPI &target, ::BlockPos const &origin, ::ITreeCanopy::BranchSize const &trunkSize, ::Random &random, ::RenderParams &, ::TreeHelper::TreeParams const &treeParams, int, ::std::vector<::ITreeCanopy::AttachmentInfo > const &) const
MCAPI void _placeLayerOfLeaves (::IBlockWorldGenAPI &target, ::Block const &leavesBlock, ::TreeHelper::TreeParams const &treeParams, ::BlockPos const &origin, ::Random &random, int foliageHeight, int currentRadius, int y, bool flipRhombusShape, bool isDoubleTrunk) const
MCAPI ::std::optional<::BlockPos > $placeCanopy (::IBlockWorldGenAPI &target, ::BlockPos const &origin, ::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< 8, 176, ::BlockDescriptor > mBranchBlockDescriptor
::ll::TypedStorage< 8, 24, ::std::vector<::PoplarTreeCanopy::WeightedInt > > mWeightedRadius
::ll::TypedStorage< 4, 8, ::IntRange > mHeight
::ll::TypedStorage< 4, 4, float > mSideHoleChance
::ll::TypedStorage< 4, 4, int > mTrunkWidth

Member Function Documentation

◆ placeCanopy()

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

Implements ITreeCanopy.

◆ _placeLayerOfLeaves()

MCAPI void PoplarTreeCanopy::_placeLayerOfLeaves ( ::IBlockWorldGenAPI & target,
::Block const & leavesBlock,
::TreeHelper::TreeParams const & treeParams,
::BlockPos const & origin,
::Random & random,
int foliageHeight,
int currentRadius,
int y,
bool flipRhombusShape,
bool isDoubleTrunk ) 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 > PoplarTreeCanopy::$placeCanopy ( ::IBlockWorldGenAPI & target,
::BlockPos const & origin,
::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: