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

Public Member Functions

MCAPI void createPortalBlocks (::WorldChangeTransaction &transaction) const
MCAPI void evaluate (::BlockPos const &originalPosition, ::BlockSource const &source)
MCAPI void removePortalBlocks (::WorldChangeTransaction &transaction, ::BlockPos const &firstPortalPosition) const
MCAPI void updateNeighboringBlocks (::BlockSource &source, ::WorldChangeTransaction const &transaction, ::Vec3 const &perpendicularAxis) const

Static Public Member Functions

static MCAPI int _getDistanceUntilEdge (::BlockPos const &pos, ::Facing::Name direction, ::BlockSource const &source)

Public Attributes

::ll::TypedStorage< 4, 4, ::PortalAxis > mAxis
::ll::TypedStorage< 1, 1, ::Facing::Name > mRightDir
::ll::TypedStorage< 1, 1, ::Facing::Name > mLeftDir
::ll::TypedStorage< 4, 4, int > mNumPortalBlocks
::ll::TypedStorage< 4, 12, ::BlockPos > mBottomLeft
::ll::TypedStorage< 1, 1, bool > mBottomLeftValid
::ll::TypedStorage< 4, 4, int > mHeight
::ll::TypedStorage< 4, 4, int > mWidth

Member Function Documentation

◆ createPortalBlocks()

MCAPI void PortalShape::createPortalBlocks ( ::WorldChangeTransaction & transaction) 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.

◆ removePortalBlocks()

MCAPI void PortalShape::removePortalBlocks ( ::WorldChangeTransaction & transaction,
::BlockPos const & firstPortalPosition ) 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.

◆ updateNeighboringBlocks()

MCAPI void PortalShape::updateNeighboringBlocks ( ::BlockSource & source,
::WorldChangeTransaction const & transaction,
::Vec3 const & perpendicularAxis ) 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.

◆ _getDistanceUntilEdge()

MCAPI int PortalShape::_getDistanceUntilEdge ( ::BlockPos const & pos,
::Facing::Name direction,
::BlockSource const & source )
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: