LeviLamina
Loading...
Searching...
No Matches
PortalShape Class Reference

Public Member Functions

MCAPI PortalShape (::BlockSource const &source, ::BlockPos const &pos, ::PortalAxis axis)
MCAPI int _calculatePortalHeight (::BlockSource const &source)
MCAPI int _getDistanceUntilEdge (::BlockPos const &pos, ::Facing::Name direction, ::BlockSource const &source) const
MCAPI void createPortalBlocks (::WorldChangeTransaction &transaction) const
MCAPI::PortalRecord createRecord () const
MCAPI void evaluate (::BlockPos const &originalPosition, ::BlockSource const &source)
MCFOLD int getNumberOfPortalBlocks () const
MCAPI bool isFilled () const
MCAPI bool isValid () const
MCAPI void removePortalBlocks (::WorldChangeTransaction &transaction, ::BlockPos const &firstPortalPosition) const
MCFOLD void setAxis (::PortalAxis axis)
MCAPI void updateNeighboringBlocks (::BlockSource &source, ::Vec3 const &perpendicularAxis) const
MCAPI void * $ctor (::BlockSource const &source, ::BlockPos const &pos, ::PortalAxis axis)

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, ::BlockPosmBottomLeft
::ll::TypedStorage< 1, 1, bool > mBottomLeftValid
::ll::TypedStorage< 4, 4, int > mHeight
::ll::TypedStorage< 4, 4, int > mWidth

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