32 ::ll::TypedStorage<8, 16, ::mce::UUID> mUID;
33 ::ll::TypedStorage<8, 32, ::std::string> mName;
34 ::ll::TypedStorage<8, 8, ::ActorUniqueID> mEntityId;
35 ::ll::TypedStorage<8, 16, ::std::optional<uint64>> mScope;
36 ::ll::TypedStorage<4, 4, float> mMaxDistToPlayers;
37 ::ll::TypedStorage<1, 1, bool> mAlwaysActive;
38 ::ll::TypedStorage<1, 1, bool> mEntityFound;
39 ::ll::TypedStorage<1, 1, bool> mSizeChanged;
40 ::ll::TypedStorage<1, 1, bool> mRemoved;
41 ::ll::TypedStorage<1, 1, bool> mIsDoneLoadingScoped;
42 ::ll::TypedStorage<1, 1, ::TickingAreaLoadMode> mLoadMode;
43 ::ll::TypedStorage<4, 12, ::Vec3> mLastChunkUpdatePos;
44 ::ll::TypedStorage<4, 12, ::Vec3> mLastPos;
45 ::ll::TypedStorage<4, 4, uint> mLastRadius;
46 ::ll::TypedStorage<8, 504, ::ChunkViewSource> mChunkSource;
47 ::ll::TypedStorage<8, 16, ::WeakRef<::BlockSource>> mBlockSource;
48 ::ll::TypedStorage<8, 32, ::TickingAreaView> mView;
58 virtual ~TickingArea() ;
60 virtual ::mce::UUID
const& getId()
const ;
62 virtual ::std::string
const& getName()
const ;
64 virtual ::ActorUniqueID
const& getEntityId()
const ;
66 virtual ::Bounds
const& getBounds()
const ;
68 virtual bool isEntityOwned()
const ;
70 virtual bool isAlwaysActive()
const ;
72 virtual float getMaxDistToPlayers()
const ;
74 virtual ::ITickingAreaView
const& getView()
const ;
76 virtual ::ITickingAreaView& getView() ;
78 virtual ::WeakRef<::BlockSource>
const getBlockSource()
const ;
80 virtual ::WeakRef<::BlockSource> getBlockSource() ;
82 virtual ::TickingAreaDescription getDescription()
const ;
84 virtual ::TickingAreaLoadMode getLoadMode()
const ;
86 virtual void setLoadMode(::TickingAreaLoadMode loadMode,
::LevelStorage& levelStorage) ;
88 virtual bool isPreloadDone()
const ;
90 virtual void tick(
::Tick const& currentTick,
bool randomize) ;
92 virtual void tickSeasons(
::Random& random) ;
94 virtual void updatePosition(
::Vec3 const& pos) ;
98 virtual ::Actor* findOwner(uchar& pendingChunks) ;
100 virtual bool entityHasBeenFound()
const ;
102 virtual void setEntityFound() ;
104 virtual bool isRemoved() ;
108 virtual void onComponentChanged(
110 float maxDistToPlayers,
115 virtual bool isScoped()
const ;
117 virtual ::std::optional<uint64>
const& getScope()
const ;
119 virtual bool isDoneLoadingScoped()
const ;
121 virtual bool isStandalone()
const ;
130 ::std::string
const& name,
134 float maxDistToPlayers,
136 ::TickingAreaLoadMode loadMode
150 ::std::string
const& name,
154 float maxDistToPlayers,
156 ::TickingAreaLoadMode loadMode
169 MCFOLD ::mce::UUID
const& $getId()
const;
171 MCFOLD ::std::string
const& $getName()
const;
173 MCFOLD ::ActorUniqueID
const& $getEntityId()
const;
175 MCAPI ::Bounds
const& $getBounds()
const;
177 MCAPI
bool $isEntityOwned()
const;
179 MCFOLD
bool $isAlwaysActive()
const;
181 MCAPI
float $getMaxDistToPlayers()
const;
183 MCFOLD ::ITickingAreaView
const& $getView()
const;
185 MCFOLD ::ITickingAreaView& $getView();
187 MCFOLD ::WeakRef<::BlockSource>
const $getBlockSource()
const;
189 MCFOLD ::WeakRef<::BlockSource> $getBlockSource();
191 MCAPI ::TickingAreaDescription $getDescription()
const;
193 MCAPI
void $setLoadMode(::TickingAreaLoadMode loadMode,
::LevelStorage& levelStorage);
195 MCAPI
bool $isPreloadDone()
const;
197 MCAPI
void $tick(
::Tick const& currentTick,
bool randomize);
199 MCAPI
void $tickSeasons(
::Random& random);
201 MCAPI
void $updatePosition(
::Vec3 const& pos);
205 MCAPI ::Actor* $findOwner(uchar& pendingChunks);
207 MCAPI
bool $entityHasBeenFound()
const;
209 MCAPI
void $setEntityFound();
211 MCAPI
bool $isRemoved();
216 $onComponentChanged(uint radius,
float maxDistToPlayers,
bool alwaysActive,
::LevelStorage& levelStorage);
218 MCFOLD
bool $isScoped()
const;
220 MCFOLD ::std::optional<uint64>
const& $getScope()
const;
222 MCFOLD
bool $isDoneLoadingScoped()
const;
224 MCAPI
bool $isStandalone()
const;