Skip to content
LeviMC
English
AutoLightDark
LeviLamina
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.

◆ _place()

MCAPI ::std::optional<::BlockPos > ITreeFeature::_place ( ::IFeature::PlacementContext const & context) 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.

◆ isExposedTo()

MCAPI bool IFeature::isExposedTo ( ::IBlockWorldGenAPI const & target,
::BlockPos const & candidatePos,
::BlockDescriptor const & exposedTo )
staticinherited
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: