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

Public Types

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

Public Member Functions

SnapToSurfaceFeatureoperator= (SnapToSurfaceFeature const &)
 
 SnapToSurfaceFeature (SnapToSurfaceFeature const &)
 
virtual ::std::optional<::BlockPosplace (::IFeature::PlacementContext const &context) const
 
MCAPI ::std::optional<::BlockPos_findSnapPos (::IBlockWorldGenAPI &target, ::BlockPos const &pos, ::SnapToSurfaceFeature::Surface targetSurface) 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::UntypedStorage< 8, 24 > mUnkcc3148
 
::ll::UntypedStorage< 4, 4 > mUnkd9cc9e
 
::ll::UntypedStorage< 4, 4 > mUnk32934f
 
::ll::UntypedStorage< 8, 24 > mUnkee9932
 
::ll::UntypedStorage< 1, 1 > mUnk9d4a1e
 
::ll::UntypedStorage< 1, 1 > mUnk936b03
 
::ll::TypedStorage< 1, 1, bool > mInternal
 
::ll::TypedStorage< 1, 1, bool > mCanUseInternalFeature
 

Member Function Documentation

◆ place()

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

Implements IFeature.

◆ _findSnapPos()

MCAPI ::std::optional<::BlockPos > SnapToSurfaceFeature::_findSnapPos ( ::IBlockWorldGenAPI & target,
::BlockPos const & pos,
::SnapToSurfaceFeature::Surface targetSurface ) 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.

◆ $place()

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

◆ $vftable()

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