Skip to content
LeviLamina

API Reference

On this page

Loading...
Searching...
No Matches
ITreeFeature Class Referenceabstract
Inheritance diagram for ITreeFeature:

Public Member Functions

virtual ::std::optional<::BlockPos > place (::IFeature::PlacementContext const &context) const =0
MCAPI ::std::optional<::BlockPos > _place (::IFeature::PlacementContext const &context) const
virtual bool isValidPlacement (::std::string const &pass)
virtual void upgradeFormat (::SemVersion const &)
MCAPI bool $isValidPlacement (::std::string const &pass)
MCFOLD void $upgradeFormat (::SemVersion const &)

Static Public Member Functions

static MCAPI bool isExposedTo (::IBlockWorldGenAPI const &target, ::BlockPos const &candidatePos, ::BlockDescriptor const &exposedTo)

Public Attributes

::ll::TypedStorage< 8, 128, ::TreeHelper::TreeParams > mTreeParams
::ll::TypedStorage< 8, 8, ::ITreeTrunkWrapper > mTrunk
::ll::TypedStorage< 8, 8, ::ITreeCanopyWrapper > mCanopy
::ll::TypedStorage< 8, 8, ::ITreeRootWrapper > mRoots
::ll::TypedStorage< 1, 1, bool > mInternal
::ll::TypedStorage< 1, 1, bool > mCanUseInternalFeature

Member Function Documentation

◆ place()

virtual ::std::optional<::BlockPos > ITreeFeature::place ( ::IFeature::PlacementContext const & context) const
pure virtual

Implements IFeature.


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