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

Classes

struct  WeightedBlockReference

Public Member Functions

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

Static Public Member Functions

static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 4, 8, ::IntRange > mCanopyHeight
::ll::TypedStorage< 4, 8, ::IntRange > mCanopyRadius
::ll::TypedStorage< 4, 4, int > mLeafPlacementAttempts
::ll::TypedStorage< 8, 24, ::std::vector<::RandomSpreadTreeCanopy::WeightedBlockReference > > mLeavesBlockDescriptors

Member Function Documentation

◆ placeCanopy()

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

Implements ITreeCanopy.

◆ $placeCanopy()

MCAPI ::std::optional<::BlockPos > RandomSpreadTreeCanopy::$placeCanopy ( ::IBlockWorldGenAPI & target,
::BlockPos const & ,
::ITreeCanopy::BranchSize const & ,
::Random & random,
::RenderParams & ,
::TreeHelper::TreeParams const & treeParams,
int ,
::std::vector<::ITreeCanopy::AttachmentInfo > const & attachmentInfos ) 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.

◆ $vftable()

MCAPI void ** RandomSpreadTreeCanopy::$vftable ( )
static
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: