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

Classes

struct  EnabledStates
class  UpdateCardinalGetPlacementBlockCallback
class  UpdateFacingGetPlacementBlockCallback

Public Member Functions

virtual ::std::unique_ptr<::CompoundTagbuildNetworkTag (::cereal::ReflectionCtx const &ctx) const
virtual void initializeFromNetwork (::CompoundTag const &tag, ::cereal::ReflectionCtx const &ctx)
virtual void applyToBlockType (::BlockType &blockType) const
MCAPI void $dtor ()
MCAPI ::std::unique_ptr<::CompoundTag$buildNetworkTag (::cereal::ReflectionCtx const &ctx) const
MCAPI void $initializeFromNetwork (::CompoundTag const &tag, ::cereal::ReflectionCtx const &ctx)
MCAPI void $applyToBlockType (::BlockType &blockType) const

Static Public Member Functions

static MCAPI ::BlockTrait::PlacementDirection CardinalDirection (float _yRotationOffset)
static MCAPI ::BlockTrait::PlacementDirection FacingDirection (float _yRotationOffset)
static MCAPI void _addCornerConnection (::BlockType &blockType, ::std::vector<::SharedTypes::Legacy::BlockDescriptor > const &blocksToCornerWith)
static MCAPI void bindType (::cereal::ReflectionCtx &ctx)
static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 1, 3, ::BlockTrait::PlacementDirection::EnabledStatesmStates
::ll::TypedStorage< 4, 4, float > mRotationOffset
::ll::TypedStorage< 8, 24, ::std::vector<::SharedTypes::Legacy::BlockDescriptor > > mBlocksToCornerWith

Member Function Documentation

◆ buildNetworkTag()

virtual ::std::unique_ptr<::CompoundTag > BlockTrait::PlacementDirection::buildNetworkTag ( ::cereal::ReflectionCtx const & ctx) const
virtual

Implements BlockTrait::ITrait.

◆ initializeFromNetwork()

virtual void BlockTrait::PlacementDirection::initializeFromNetwork ( ::CompoundTag const & tag,
::cereal::ReflectionCtx const & ctx )
virtual

Implements BlockTrait::ITrait.

◆ applyToBlockType()

virtual void BlockTrait::PlacementDirection::applyToBlockType ( ::BlockType & blockType) const
virtual

Implements BlockTrait::ITrait.

◆ $vftable()

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