22 ::ll::TypedStorage<4, 4, ::PortalAxis> mAxis;
23 ::ll::TypedStorage<1, 1, ::Facing::Name> mRightDir;
24 ::ll::TypedStorage<1, 1, ::Facing::Name> mLeftDir;
25 ::ll::TypedStorage<4, 4, int> mNumPortalBlocks;
26 ::ll::TypedStorage<4, 12, ::BlockPos> mBottomLeft;
27 ::ll::TypedStorage<1, 1, bool> mBottomLeftValid;
28 ::ll::TypedStorage<4, 4, int> mHeight;
29 ::ll::TypedStorage<4, 4, int> mWidth;
41 MCAPI
int _calculatePortalHeight(
::BlockSource const& source);
43 MCAPI
int _getDistanceUntilEdge(
::BlockPos const& pos, ::Facing::Name direction,
::BlockSource const& source)
const;
47 MCAPI ::PortalRecord createRecord()
const;
51 MCFOLD
int getNumberOfPortalBlocks()
const;
53 MCAPI
bool isFilled()
const;
55 MCAPI
bool isValid()
const;
59 MCFOLD
void setAxis(::PortalAxis axis);
61 MCAPI
void updateNeighboringBlocks(
::BlockSource& source,
::Vec3 const& perpendicularAxis)
const;