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

Public Member Functions

virtual::mce::UUID const & getId () const
 
virtual::std::string const & getName () const
 
virtual::ActorUniqueID const & getEntityId () const
 
virtual::Bounds const & getBounds () const
 
virtual bool isEntityOwned () const
 
virtual bool isAlwaysActive () const
 
virtual float getMaxDistToPlayers () const
 
virtual::ITickingAreaView const & getView () const
 
virtual::ITickingAreaView & getView ()
 
virtual ::WeakRef<::BlockSource > const getBlockSource () const
 
virtual ::WeakRef<::BlockSourcegetBlockSource ()
 
virtual::TickingAreaDescription getDescription () const
 
virtual::TickingAreaLoadMode getLoadMode () const
 
virtual void setLoadMode (::TickingAreaLoadMode loadMode, ::LevelStorage &levelStorage)
 
virtual bool isPreloadDone () const
 
virtual void tick (::Tick const &currentTick, bool randomize)
 
virtual void tickSeasons (::Random &random)
 
virtual void updatePosition (::Vec3 const &pos)
 
virtual void updateAndCenter (::LevelStorage &levelStorage, ::Tick currentLevelTick)
 
virtual::Actor * findOwner (uchar &pendingChunks)
 
virtual bool entityHasBeenFound () const
 
virtual void setEntityFound ()
 
virtual bool isRemoved ()
 
virtual void remove (::LevelStorage &levelStorage)
 
virtual void onComponentChanged (uint radius, float maxDistToPlayers, bool alwaysActive, ::LevelStorage &levelStorage)
 
virtual void updateBlockSourceCurrentTick (::Tick const &currentTick)
 
MCAPI TickingArea (::Dimension &dimension, ::mce::UUID uniqueId, ::std::string const &name, ::ActorUniqueID entityId, ::Bounds const &bounds, bool isCircle, float maxDistToPlayers, bool alwaysActive, ::TickingAreaLoadMode loadMode)
 
MCAPI void _center (::LevelStorage &levelStorage)
 
MCAPI void _save (::LevelStorage &levelStorage)
 
MCAPI void * $ctor (::Dimension &dimension, ::mce::UUID uniqueId, ::std::string const &name, ::ActorUniqueID entityId, ::Bounds const &bounds, bool isCircle, float maxDistToPlayers, bool alwaysActive, ::TickingAreaLoadMode loadMode)
 
MCAPI void $dtor ()
 
MCFOLD::mce::UUID const & $getId () const
 
MCFOLD::std::string const & $getName () const
 
MCFOLD::ActorUniqueID const & $getEntityId () const
 
MCAPI::Bounds const & $getBounds () const
 
MCAPI bool $isEntityOwned () const
 
MCFOLD bool $isAlwaysActive () const
 
MCAPI float $getMaxDistToPlayers () const
 
MCFOLD::ITickingAreaView const & $getView () const
 
MCFOLD::ITickingAreaView & $getView ()
 
MCFOLD ::WeakRef<::BlockSource > const $getBlockSource () const
 
MCFOLD ::WeakRef<::BlockSource$getBlockSource ()
 
MCAPI::TickingAreaDescription $getDescription () const
 
MCAPI void $setLoadMode (::TickingAreaLoadMode loadMode, ::LevelStorage &levelStorage)
 
MCAPI bool $isPreloadDone () const
 
MCAPI void $tick (::Tick const &currentTick, bool randomize)
 
MCAPI void $tickSeasons (::Random &random)
 
MCAPI void $updatePosition (::Vec3 const &pos)
 
MCAPI void $updateAndCenter (::LevelStorage &levelStorage, ::Tick currentLevelTick)
 
MCAPI::Actor * $findOwner (uchar &pendingChunks)
 
MCAPI bool $entityHasBeenFound () const
 
MCAPI void $setEntityFound ()
 
MCAPI bool $isRemoved ()
 
MCAPI void $remove (::LevelStorage &levelStorage)
 
MCAPI void $onComponentChanged (uint radius, float maxDistToPlayers, bool alwaysActive, ::LevelStorage &levelStorage)
 
MCAPI void $updateBlockSourceCurrentTick (::Tick const &currentTick)
 
MCAPI::CompoundTag serialize () const
 

Static Public Member Functions

static MCAPI void ** $vftable ()
 

Public Attributes

::ll::TypedStorage< 8, 16, ::mce::UUIDmUID
 
::ll::TypedStorage< 8, 32, ::std::string > mName
 
::ll::TypedStorage< 8, 8, ::ActorUniqueIDmEntityId
 
::ll::TypedStorage< 4, 4, float > mMaxDistToPlayers
 
::ll::TypedStorage< 1, 1, bool > mAlwaysActive
 
::ll::TypedStorage< 1, 1, bool > mEntityFound
 
::ll::TypedStorage< 1, 1, bool > mSizeChanged
 
::ll::TypedStorage< 1, 1, bool > mRemoved
 
::ll::TypedStorage< 1, 1, ::TickingAreaLoadMode > mLoadMode
 
::ll::TypedStorage< 4, 12, ::Vec3mLastChunkUpdatePos
 
::ll::TypedStorage< 4, 12, ::Vec3mLastPos
 
::ll::TypedStorage< 4, 4, uint > mLastRadius
 
::ll::TypedStorage< 8, 504, ::ChunkViewSourcemChunkSource
 
::ll::TypedStorage< 8, 16, ::WeakRef<::BlockSource > > mBlockSource
 
::ll::TypedStorage< 8, 32, ::TickingAreaViewmView
 

Member Function Documentation

◆ getId()

virtual::mce::UUID const & TickingArea::getId ( ) const
virtual

Implements ITickingArea.

◆ getName()

virtual::std::string const & TickingArea::getName ( ) const
virtual

Implements ITickingArea.

◆ getEntityId()

virtual::ActorUniqueID const & TickingArea::getEntityId ( ) const
virtual

Implements ITickingArea.

◆ getBounds()

virtual::Bounds const & TickingArea::getBounds ( ) const
virtual

Implements ITickingArea.

◆ isEntityOwned()

virtual bool TickingArea::isEntityOwned ( ) const
virtual

Implements ITickingArea.

◆ isAlwaysActive()

virtual bool TickingArea::isAlwaysActive ( ) const
virtual

Implements ITickingArea.

◆ getMaxDistToPlayers()

virtual float TickingArea::getMaxDistToPlayers ( ) const
virtual

Implements ITickingArea.

◆ getView() [1/2]

virtual::ITickingAreaView const & TickingArea::getView ( ) const
virtual

Implements ITickingArea.

◆ getView() [2/2]

virtual::ITickingAreaView & TickingArea::getView ( )
virtual

Implements ITickingArea.

◆ getBlockSource() [1/2]

virtual ::WeakRef<::BlockSource > const TickingArea::getBlockSource ( ) const
virtual

Implements ITickingArea.

◆ getBlockSource() [2/2]

virtual ::WeakRef<::BlockSource > TickingArea::getBlockSource ( )
virtual

Implements ITickingArea.

◆ getDescription()

virtual::TickingAreaDescription TickingArea::getDescription ( ) const
virtual

Implements ITickingArea.

◆ getLoadMode()

virtual::TickingAreaLoadMode TickingArea::getLoadMode ( ) const
virtual

Implements ITickingArea.

◆ setLoadMode()

virtual void TickingArea::setLoadMode ( ::TickingAreaLoadMode loadMode,
::LevelStorage & levelStorage )
virtual

Implements ITickingArea.

◆ isPreloadDone()

virtual bool TickingArea::isPreloadDone ( ) const
virtual

Implements ITickingArea.

◆ tick()

virtual void TickingArea::tick ( ::Tick const & currentTick,
bool randomize )
virtual

Implements ITickingArea.

◆ tickSeasons()

virtual void TickingArea::tickSeasons ( ::Random & random)
virtual

Implements ITickingArea.

◆ updatePosition()

virtual void TickingArea::updatePosition ( ::Vec3 const & pos)
virtual

Implements ITickingArea.

◆ updateAndCenter()

virtual void TickingArea::updateAndCenter ( ::LevelStorage & levelStorage,
::Tick currentLevelTick )
virtual

Implements ITickingArea.

◆ findOwner()

virtual::Actor * TickingArea::findOwner ( uchar & pendingChunks)
virtual

Implements ITickingArea.

◆ entityHasBeenFound()

virtual bool TickingArea::entityHasBeenFound ( ) const
virtual

Implements ITickingArea.

◆ setEntityFound()

virtual void TickingArea::setEntityFound ( )
virtual

Implements ITickingArea.

◆ isRemoved()

virtual bool TickingArea::isRemoved ( )
virtual

Implements ITickingArea.

◆ remove()

virtual void TickingArea::remove ( ::LevelStorage & levelStorage)
virtual

Implements ITickingArea.

◆ onComponentChanged()

virtual void TickingArea::onComponentChanged ( uint radius,
float maxDistToPlayers,
bool alwaysActive,
::LevelStorage & levelStorage )
virtual

Implements ITickingArea.

◆ updateBlockSourceCurrentTick()

virtual void TickingArea::updateBlockSourceCurrentTick ( ::Tick const & currentTick)
virtual

Implements ITickingArea.

◆ $vftable()

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