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

Public Types

enum class  Type : int {
  BambooJungle = 0 , BirchForest = 1 , BirchForestMutated = 2 , ExtremeHillsPlusTrees = 3 ,
  FlowerForest = 4 , Meadow = 5 , Forest = 6 , Ice = 7 ,
  Jungle = 8 , JungleEdge = 9 , MesaForest = 10 , Plains = 11 ,
  Savanna = 12 , SavannaMutated = 13 , Taiga = 14 , TaigaMega = 15 ,
  TaigaMegaSpruce = 16
}

Public Member Functions

virtual ::std::optional<::BlockPos > place (::IFeature::PlacementContext const &context) const
MCAPI LegacyTreeFeature (::LegacyTreeFeature::Type placementType, ::FeatureRegistry &registry, bool shouldPlaceLeafLitter)
MCAPI void * $ctor (::LegacyTreeFeature::Type placementType, ::FeatureRegistry &registry, bool shouldPlaceLeafLitter)
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, 40, ::PerlinSimplexNoise const > mBiomeInfoNoise
::ll::TypedStorage< 8, 24, ::WeakRef<::IFeature > > mTallGrassFeature
::ll::TypedStorage< 4, 4, float > mTreeChance
::ll::TypedStorage< 8, 24, ::std::vector<::WeakRef<::IFeature > > > mFeatureRefs
::ll::TypedStorage< 8, 64, ::std::function<::WeakRef<::IFeature >(::Random &)> > mGetTreeFeature
::ll::TypedStorage< 1, 1, bool > mInternal
::ll::TypedStorage< 1, 1, bool > mCanUseInternalFeature

Constructor & Destructor Documentation

◆ LegacyTreeFeature()

MCAPI LegacyTreeFeature::LegacyTreeFeature ( ::LegacyTreeFeature::Type placementType,
::FeatureRegistry & registry,
bool shouldPlaceLeafLitter )
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.

Member Function Documentation

◆ place()

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

Implements IFeature.

◆ $ctor()

MCAPI void * LegacyTreeFeature::$ctor ( ::LegacyTreeFeature::Type placementType,
::FeatureRegistry & registry,
bool shouldPlaceLeafLitter )
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.

◆ $place()

MCAPI ::std::optional<::BlockPos > LegacyTreeFeature::$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: