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

Classes

struct  WeightedBlockDescriptor
 

Public Types

enum class  CheckDirection : uchar {
  Top = 0 , Bottom = 1 , North = 2 , East = 3 ,
  South = 4 , West = 5 , All = 6 , Sides = 7 ,
  Diagonal = 8 , Count = 9
}
 
enum class  AttachCondition : uchar { MayAttachTo = 0 , MayNotAttachTo = 1 }
 

Public Member Functions

SingleBlockFeatureoperator= (SingleBlockFeature const &)
 
 SingleBlockFeature (SingleBlockFeature const &)
 
virtual ::std::optional<::BlockPosplace (::IFeature::PlacementContext const &context) const
 
MCAPI::Block const * _mayAttach (::BlockDescriptor const &blockDescriptor, ::IBlockWorldGenAPI &target, ::BlockPos const &pos) const
 
MCAPI bool _mayNotAttach (::IBlockWorldGenAPI &target, ::BlockPos const &pos) const
 
MCAPI void $dtor ()
 
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 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 > mUnk555a95
 
::ll::UntypedStorage< 1, 1 > mUnk3fe127
 
::ll::UntypedStorage< 1, 1 > mUnkcbde6a
 
::ll::UntypedStorage< 1, 1 > mUnk59b549
 
::ll::UntypedStorage< 1, 1 > mUnke1aa00
 
::ll::UntypedStorage< 1, 1 > mUnk770dd3
 
::ll::UntypedStorage< 4, 4 > mUnk947893
 
::ll::UntypedStorage< 8, 216 > mUnk1d8d80
 
::ll::UntypedStorage< 8, 216 > mUnk7888e6
 
::ll::UntypedStorage< 8, 24 > mUnke73e15
 
::ll::TypedStorage< 1, 1, bool > mInternal
 
::ll::TypedStorage< 1, 1, bool > mCanUseInternalFeature
 

Member Function Documentation

◆ place()

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

Implements IFeature.


The documentation for this class was generated from the following file: