LeviLamina
Loading...
Searching...
No Matches
PortalForcer Class Reference
+ Inheritance diagram for PortalForcer:

Classes

class  PortalPosition
 

Public Types

using CachedPortalMap = ::std::unordered_map<::BlockPos, ::PortalForcer::PortalPosition>
 
using PortalRecordSet = ::std::unordered_set<::PortalRecord>
 

Public Member Functions

PortalForceroperator= (PortalForcer const &)
 
 PortalForcer (PortalForcer const &)
 
virtual void deserialize (::CompoundTag const &tag)
 
virtual void serialize (::CompoundTag &tag) const
 
MCAPI ::std::optional<::PortalRecord_findPortal (::DimensionType dimensionId, ::BlockPos const &centerBlockPos, int radius, ::BlockPos &targetBlockPos) const
 
MCAPI::PortalRecord const & createPortal (::Actor const &entity, int radius)
 
MCAPI void force (::Actor &entity, ::DimensionTransitionComponent const &portalEntranceComponent)
 
MCAPI void removeMisalignedPortalRecords (::BlockSource &region, ::PortalShape const &referenceShape, ::PortalRecord const &referenceRecord)
 
MCAPI void removePortalRecord (::BlockSource &source, ::BlockPos const &pos)
 
MCAPI void $dtor ()
 
MCAPI void $deserialize (::CompoundTag const &tag)
 
MCAPI void $serialize (::CompoundTag &tag) const
 

Static Public Member Functions

static MCAPI bool canPortalReplaceBlock (::BlockSource &region, ::BlockPos const &blockPos)
 
static MCAPI ::BaseGameVersion const & MIN_PORTAL_REPLACE_BLOCK_FIX_VERSION ()
 
static MCAPI ::std::string const & PORTAL_FILE_ID ()
 
static MCAPI void ** $vftable ()
 

Public Attributes

::ll::TypedStorage< 8, 8, ::Level & > mLevel
 
::ll::TypedStorage< 8, 2568, ::RandommRandom
 
::ll::TypedStorage< 8, 64, ::std::unordered_map<::DimensionType, ::std::unordered_set<::PortalRecord > > > mPortalRecords
 
::ll::TypedStorage< 1, 1, bool > mDirty
 
::ll::TypedStorage< 8, 32, ::std::string > mId
 

Member Function Documentation

◆ deserialize()

virtual void PortalForcer::deserialize ( ::CompoundTag const & tag)
virtual

Implements SavedData.

◆ serialize()

virtual void PortalForcer::serialize ( ::CompoundTag & tag) const
virtual

Implements SavedData.

◆ $vftable()

static MCAPI void ** PortalForcer::$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: