Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
StructurePlacementInfo Class Reference

Public Member Functions

MCAPI StructurePlacementInfo (::BlockPos const &size, ::BlockPos const &origin)
MCAPI uint _findOrInsertPlacementIndex (::StructureBlockPlacementInfo const &info)
MCAPI void _setBlockPlacementInfo (::BlockPos const &pos, ::StructureBlockPlacementInfo const &info)
MCAPI::StructureBlockPlacementInfo const & getBlockPlacementInfo (::BlockPos const &pos) const
MCAPI::StructurePlacementNeighbors getNeighbors (::BlockPos const &relativePos, ::Rotation rotation)
MCAPI void handlePostPlacedStructureForArea (::BlockSource &region, ::BlockPos const &startPos, ::BlockPos const &endPos, ::Rotation rotation, ::std::function<::BlockPos(::BlockPos const &)> const &getWorldPosition, ::std::function< void(::BlockPos const &, ::BlockPos const &)> const &preHandleBlock)
MCAPI void setBlockPlacementInfo (::BlockPos const &pos, ::Block const &block, ::NeighborAwareBlockUpdateType updateType)
MCAPI ~StructurePlacementInfo ()
MCAPI void * $ctor (::BlockPos const &size, ::BlockPos const &origin)
MCAPI void $dtor ()

Public Attributes

::ll::TypedStorage< 4, 12, ::BlockPos const > mSize
::ll::TypedStorage< 4, 12, ::BlockPos const > mOrigin
::ll::TypedStorage< 8, 24, ::std::vector< uint > > mBlockVolume
::ll::TypedStorage< 8, 24, ::std::vector<::StructureBlockPlacementInfo > > mBlockPlacementInfos

Constructor & Destructor Documentation

◆ StructurePlacementInfo()

MCAPI StructurePlacementInfo::StructurePlacementInfo ( ::BlockPos const & size,
::BlockPos const & origin )
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.

◆ ~StructurePlacementInfo()

MCAPI StructurePlacementInfo::~StructurePlacementInfo ( )
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.

Member Function Documentation

◆ _findOrInsertPlacementIndex()

MCAPI uint StructurePlacementInfo::_findOrInsertPlacementIndex ( ::StructureBlockPlacementInfo const & info)
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.

◆ _setBlockPlacementInfo()

MCAPI void StructurePlacementInfo::_setBlockPlacementInfo ( ::BlockPos const & pos,
::StructureBlockPlacementInfo const & info )
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.

◆ getBlockPlacementInfo()

MCAPI::StructureBlockPlacementInfo const & StructurePlacementInfo::getBlockPlacementInfo ( ::BlockPos const & pos) 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.

◆ getNeighbors()

MCAPI::StructurePlacementNeighbors StructurePlacementInfo::getNeighbors ( ::BlockPos const & relativePos,
::Rotation rotation )
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.

◆ handlePostPlacedStructureForArea()

MCAPI void StructurePlacementInfo::handlePostPlacedStructureForArea ( ::BlockSource & region,
::BlockPos const & startPos,
::BlockPos const & endPos,
::Rotation rotation,
::std::function<::BlockPos(::BlockPos const &)> const & getWorldPosition,
::std::function< void(::BlockPos const &, ::BlockPos const &)> const & preHandleBlock )
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.

◆ setBlockPlacementInfo()

MCAPI void StructurePlacementInfo::setBlockPlacementInfo ( ::BlockPos const & pos,
::Block const & block,
::NeighborAwareBlockUpdateType updateType )
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.

◆ $ctor()

MCAPI void * StructurePlacementInfo::$ctor ( ::BlockPos const & size,
::BlockPos const & origin )
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.

◆ $dtor()

MCAPI void StructurePlacementInfo::$dtor ( )
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: