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

Public Types

enum class  Surface : int { Ceiling = 0 , Floor = 1 }
 

Public Member Functions

virtual ::std::optional<::BlockPosplace (::IFeature::PlacementContext const &context) const
 
MCAPI bool _isExposedDirection (::IBlockWorldGenAPI &target, ::BlockPos const &pos, uchar direction) const
 
MCAPI bool _placeGround (::IBlockWorldGenAPI &target, ::Random &random, ::BlockPos const &posAtSurface, uchar towardsSurface) const
 
MCAPI ::std::vector<::BlockPos_placeGroundPatch (::IBlockWorldGenAPI &target, ::Random &random, ::BlockPos const &origin, int xRadius, int zRadius) const
 
MCAPI ::std::optional<::BlockPos$place (::IFeature::PlacementContext const &context) const
 
virtual bool isValidPlacement (::std::string const &pass)
 
virtual void upgradeFormat (::SemVersion const &)
 
MCFOLD void $dtor ()
 
MCAPI bool $isValidPlacement (::std::string const &pass)
 
MCFOLD void $upgradeFormat (::SemVersion const &)
 

Static Public Member Functions

static MCAPI void ** $vftable ()
 
static MCAPI bool isExposedTo (::IBlockWorldGenAPI const &target, ::BlockPos const &candidatePos, ::BlockDescriptor const &exposedTo)
 
static MCAPI ::std::string_view const & DEFAULT_NOT_SUPPORTED_PASS ()
 

Public Attributes

::ll::TypedStorage< 8, 24, ::std::vector<::BlockDescriptor > > mReplaceableBlocks
 
::ll::TypedStorage< 8, 184, ::BlockDescriptormGroundBlock
 
::ll::TypedStorage< 8, 24, ::WeakRef<::IFeature > > mVegetationFeature
 
::ll::TypedStorage< 4, 4, ::VegetationPatchFeature::Surface > mSurface
 
::ll::TypedStorage< 4, 8, ::IntRangemDepth
 
::ll::TypedStorage< 4, 4, float > mExtraDeepBlockChance
 
::ll::TypedStorage< 4, 4, int > mVerticalRange
 
::ll::TypedStorage< 4, 4, float > mVegetationChance
 
::ll::TypedStorage< 4, 8, ::IntRangemHorizontalRadius
 
::ll::TypedStorage< 4, 4, float > mExtraEdgeColumnChance
 
::ll::TypedStorage< 1, 1, bool > mWaterlogged
 
::ll::TypedStorage< 1, 1, bool > mInternal
 
::ll::TypedStorage< 1, 1, bool > mCanUseInternalFeature
 

Member Function Documentation

◆ place()

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

Implements IFeature.

◆ $vftable()

static MCAPI void ** VegetationPatchFeature::$vftable ( )
static
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: