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

Public Member Functions

virtual ::std::optional<::BlockPos > placeRoots (::IBlockWorldGenAPI &target, ::BlockPos const &pos, ::Random &random, int trunkHeight, ::RenderParams &, ::TreeHelper::TreeParams const &treeParams) const
MCAPI bool _simulateRoots (::IBlockWorldGenAPI &target, ::Random &random, ::BlockPos const &rootPos, ::BlockPos const &newOrigin, uchar const dir, ::std::vector<::BlockPos > *rootPositions, int layer, ::TreeHelper::TreeParams const &treeParams) const
MCAPI ::std::optional<::BlockPos > $placeRoots (::IBlockWorldGenAPI &target, ::BlockPos const &pos, ::Random &random, int trunkHeight, ::RenderParams &, ::TreeHelper::TreeParams const &treeParams) const

Public Attributes

::ll::TypedStorage< 4, 4, int > mMaxRootWidth
::ll::TypedStorage< 4, 4, int > mMaxRootLength
::ll::TypedStorage< 4, 8, ::IntRange > mYOffset
::ll::TypedStorage< 4, 12, ::ChanceInformation > mAboveRootBlockChance
::ll::TypedStorage< 8, 176, ::BlockDescriptor > mRootBlockDescriptor
::ll::TypedStorage< 8, 176, ::BlockDescriptor > mAboveRootBlockDescriptor
::ll::TypedStorage< 8, 176, ::BlockDescriptor > mMuddyRootBlockDescriptor
::ll::TypedStorage< 8, 176, ::BlockDescriptor > mMudBlockDescriptor
::ll::TypedStorage< 8, 24, ::std::vector<::BlockDescriptor > > mRootsMayGrowThrough
::ll::TypedStorage< 8, 224, ::TreeHelper::AttachableDecoration > mDecoration

Member Function Documentation

◆ placeRoots()

virtual ::std::optional<::BlockPos > MangroveTreeRoots::placeRoots ( ::IBlockWorldGenAPI & target,
::BlockPos const & pos,
::Random & random,
int trunkHeight,
::RenderParams & ,
::TreeHelper::TreeParams const & treeParams ) const
virtual

Implements ITreeRoot.

◆ _simulateRoots()

MCAPI bool MangroveTreeRoots::_simulateRoots ( ::IBlockWorldGenAPI & target,
::Random & random,
::BlockPos const & rootPos,
::BlockPos const & newOrigin,
uchar const dir,
::std::vector<::BlockPos > * rootPositions,
int layer,
::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.

◆ $placeRoots()

MCAPI ::std::optional<::BlockPos > MangroveTreeRoots::$placeRoots ( ::IBlockWorldGenAPI & target,
::BlockPos const & pos,
::Random & random,
int trunkHeight,
::RenderParams & ,
::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.

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