Skip to content
LeviMC
English
AutoLightDark
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 getBoundsCopy () 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<::BlockSource > getBlockSource ()
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 bool isScoped () const
virtual ::std::optional< uint64 > const & getScope () const
virtual bool isDoneLoadingScoped () const
virtual bool isStandalone () const
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 _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::mce::UUID const & $getId () const
MCAPI::std::string const & $getName () const
MCAPI::ActorUniqueID const & $getEntityId () const
MCAPI::Bounds const $getBoundsCopy () const
MCAPI bool $isEntityOwned () const
MCAPI bool $isAlwaysActive () const
MCAPI float $getMaxDistToPlayers () const
MCAPI::ITickingAreaView const & $getView () const
MCAPI::ITickingAreaView & $getView ()
MCAPI ::WeakRef<::BlockSource > const $getBlockSource () const
MCAPI ::WeakRef<::BlockSource > $getBlockSource ()
MCAPI::TickingAreaDescription $getDescription () const
MCAPI::TickingAreaLoadMode $getLoadMode () 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 bool $isScoped () const
MCAPI ::std::optional< uint64 > const & $getScope () const
MCAPI bool $isDoneLoadingScoped () const
MCAPI bool $isStandalone () const

Public Attributes

::ll::TypedStorage< 8, 16, ::mce::UUID > mUID
::ll::TypedStorage< 8, 32, ::std::string > mName
::ll::TypedStorage< 8, 8, ::ActorUniqueID > mEntityId
::ll::TypedStorage< 8, 16, ::std::optional< uint64 > > mScope
::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, bool > mIsDoneLoadingScoped
::ll::TypedStorage< 1, 1, ::TickingAreaLoadMode > mLoadMode
::ll::TypedStorage< 4, 12, ::Vec3 > mLastChunkUpdatePos
::ll::TypedStorage< 4, 12, ::Vec3 > mLastPos
::ll::TypedStorage< 4, 4, uint > mLastRadius
::ll::TypedStorage< 8, 432, ::ChunkViewSource > mChunkSource
::ll::TypedStorage< 8, 16, ::WeakRef<::BlockSource > > mBlockSource
::ll::TypedStorage< 8, 32, ::TickingAreaView > mView

Constructor & Destructor Documentation

◆ TickingArea()

MCAPI TickingArea::TickingArea ( ::Dimension & dimension,
::mce::UUID uniqueId,
::std::string const & name,
::ActorUniqueID entityId,
::Bounds const & bounds,
bool isCircle,
float maxDistToPlayers,
bool alwaysActive,
::TickingAreaLoadMode loadMode )
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.

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.

◆ getBoundsCopy()

virtual::Bounds const TickingArea::getBoundsCopy ( ) 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.

◆ isScoped()

virtual bool TickingArea::isScoped ( ) const
virtual

Implements ITickingArea.

◆ getScope()

virtual ::std::optional< uint64 > const & TickingArea::getScope ( ) const
virtual

Implements ITickingArea.

◆ isDoneLoadingScoped()

virtual bool TickingArea::isDoneLoadingScoped ( ) const
virtual

Implements ITickingArea.

◆ isStandalone()

virtual bool TickingArea::isStandalone ( ) const
virtual

Implements ITickingArea.

◆ _save()

MCAPI void TickingArea::_save ( ::LevelStorage & levelStorage)
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.

◆ $ctor()

MCAPI void * TickingArea::$ctor ( ::Dimension & dimension,
::mce::UUID uniqueId,
::std::string const & name,
::ActorUniqueID entityId,
::Bounds const & bounds,
bool isCircle,
float maxDistToPlayers,
bool alwaysActive,
::TickingAreaLoadMode loadMode )
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.

◆ $getId()

MCAPI::mce::UUID const & TickingArea::$getId ( ) 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.

◆ $getName()

MCAPI::std::string const & TickingArea::$getName ( ) 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.

◆ $getEntityId()

MCAPI::ActorUniqueID const & TickingArea::$getEntityId ( ) 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.

◆ $getBoundsCopy()

MCAPI::Bounds const TickingArea::$getBoundsCopy ( ) 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.

◆ $isEntityOwned()

MCAPI bool TickingArea::$isEntityOwned ( ) 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.

◆ $isAlwaysActive()

MCAPI bool TickingArea::$isAlwaysActive ( ) 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.

◆ $getMaxDistToPlayers()

MCAPI float TickingArea::$getMaxDistToPlayers ( ) 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.

◆ $getView() [1/2]

MCAPI::ITickingAreaView const & TickingArea::$getView ( ) 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.

◆ $getView() [2/2]

MCAPI::ITickingAreaView & TickingArea::$getView ( )
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.

◆ $getBlockSource() [1/2]

MCAPI ::WeakRef<::BlockSource > const TickingArea::$getBlockSource ( ) 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.

◆ $getBlockSource() [2/2]

MCAPI ::WeakRef<::BlockSource > TickingArea::$getBlockSource ( )
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.

◆ $getDescription()

MCAPI::TickingAreaDescription TickingArea::$getDescription ( ) 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.

◆ $getLoadMode()

MCAPI::TickingAreaLoadMode TickingArea::$getLoadMode ( ) 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.

◆ $setLoadMode()

MCAPI void TickingArea::$setLoadMode ( ::TickingAreaLoadMode loadMode,
::LevelStorage & levelStorage )
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.

◆ $isPreloadDone()

MCAPI bool TickingArea::$isPreloadDone ( ) 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.

◆ $tick()

MCAPI void TickingArea::$tick ( ::Tick const & currentTick,
bool randomize )
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.

◆ $tickSeasons()

MCAPI void TickingArea::$tickSeasons ( ::Random & random)
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.

◆ $updatePosition()

MCAPI void TickingArea::$updatePosition ( ::Vec3 const & pos)
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.

◆ $updateAndCenter()

MCAPI void TickingArea::$updateAndCenter ( ::LevelStorage & levelStorage,
::Tick currentLevelTick )
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.

◆ $findOwner()

MCAPI::Actor * TickingArea::$findOwner ( uchar & pendingChunks)
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.

◆ $entityHasBeenFound()

MCAPI bool TickingArea::$entityHasBeenFound ( ) 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.

◆ $setEntityFound()

MCAPI void TickingArea::$setEntityFound ( )
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.

◆ $isRemoved()

MCAPI bool TickingArea::$isRemoved ( )
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.

◆ $remove()

MCAPI void TickingArea::$remove ( ::LevelStorage & levelStorage)
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.

◆ $onComponentChanged()

MCAPI void TickingArea::$onComponentChanged ( uint radius,
float maxDistToPlayers,
bool alwaysActive,
::LevelStorage & levelStorage )
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.

◆ $isScoped()

MCAPI bool TickingArea::$isScoped ( ) 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.

◆ $getScope()

MCAPI ::std::optional< uint64 > const & TickingArea::$getScope ( ) 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.

◆ $isDoneLoadingScoped()

MCAPI bool TickingArea::$isDoneLoadingScoped ( ) 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.

◆ $isStandalone()

MCAPI bool TickingArea::$isStandalone ( ) 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.

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