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

Public Types

using ShuffledFaces = ::Bedrock::small_vector<uchar, 6>

Public Member Functions

virtual ::std::optional<::BlockPosplace (::IFeature::PlacementContext const &context) const
MCAPI ::std::optional<::BlockPos_placeBlockIfPossible (::BlockSource &region, ::BlockPos const &pos, ::Random &random, ::gsl::span< uchar const > placementDirections) 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, 184, ::BlockDescriptormBlock
::ll::TypedStorage< 4, 4, int > mSearchRange
::ll::TypedStorage< 1, 1, bool > mCanPlaceOnFloor
::ll::TypedStorage< 1, 1, bool > mCanPlaceOnCeiling
::ll::TypedStorage< 1, 1, bool > mCanPlaceOnWall
::ll::TypedStorage< 4, 4, float > mChanceOfSpreading
::ll::TypedStorage< 8, 24, ::std::vector<::BlockDescriptor > > mCanBePlacedOn
::ll::TypedStorage< 8, 24, ::std::vector< uchar > > mValidDirections
::ll::TypedStorage< 1, 1, bool > mInternal
::ll::TypedStorage< 1, 1, bool > mCanUseInternalFeature

Member Function Documentation

◆ place()

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

Implements IFeature.

◆ $vftable()

MCAPI void ** MultifaceFeature::$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: