LeviLamina
Loading...
Searching...
No Matches
FancyTreeTrunk Class Reference
Inheritance diagram for FancyTreeTrunk:

Classes

class  FoliageCoords

Public Member Functions

virtual int getTreeHeight (::Random &random) const
virtual ::std::optional<::BlockPos > placeTrunk (::IBlockWorldGenAPI &target, ::BlockPos const &pos, ::Random &random, int treeHeight, ::RenderParams &renderParams, ::TreeHelper::TreeParams const &treeParams, ::ITreeCanopy const *canopy) const
MCAPI int $getTreeHeight (::Random &random) const
MCAPI ::std::optional<::BlockPos > $placeTrunk (::IBlockWorldGenAPI &target, ::BlockPos const &pos, ::Random &random, int treeHeight, ::RenderParams &renderParams, ::TreeHelper::TreeParams const &treeParams, ::ITreeCanopy const *canopy) const

Public Attributes

::ll::TypedStorage< 4, 4, int > mBaseHeight
::ll::TypedStorage< 4, 4, int > mHeightVariance
::ll::TypedStorage< 4, 4, int > mTrunkWidth
::ll::TypedStorage< 4, 4, float > mHeightScale
::ll::TypedStorage< 4, 4, float > mBranchSlope
::ll::TypedStorage< 4, 4, float > mBranchDensity
::ll::TypedStorage< 4, 4, float > mBranchAltitudeFactor
::ll::TypedStorage< 4, 4, float > mFoliageAltitudeFactor
::ll::TypedStorage< 8, 176, ::BlockDescriptor > mTrunkBlockDescriptor
::ll::TypedStorage< 4, 4, float > mWidthScale

Member Function Documentation

◆ getTreeHeight()

virtual int FancyTreeTrunk::getTreeHeight ( ::Random & random) const
virtual

Implements ITreeTrunk.

◆ placeTrunk()

virtual ::std::optional<::BlockPos > FancyTreeTrunk::placeTrunk ( ::IBlockWorldGenAPI & target,
::BlockPos const & pos,
::Random & random,
int treeHeight,
::RenderParams & renderParams,
::TreeHelper::TreeParams const & treeParams,
::ITreeCanopy const * canopy ) const
virtual

Implements ITreeTrunk.


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