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, 432, ::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 getBoundsCopy()
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 ;
134 float maxDistToPlayers
140 ::std::string
const& name,
143 ::TickingAreaLoadMode loadMode
149 ::std::string
const& name,
153 float maxDistToPlayers,
155 ::TickingAreaLoadMode loadMode
162 MCAPI
void addScope(::std::optional<uint64> scope);
175 float maxDistToPlayers
181 ::std::string
const& name,
184 ::TickingAreaLoadMode loadMode
190 ::std::string
const& name,
194 float maxDistToPlayers,
196 ::TickingAreaLoadMode loadMode
209 MCFOLD ::mce::UUID
const& $getId()
const;
211 MCFOLD ::std::string
const& $getName()
const;
213 MCFOLD ::ActorUniqueID
const& $getEntityId()
const;
215 MCAPI ::Bounds
const $getBoundsCopy()
const;
217 MCAPI
bool $isEntityOwned()
const;
219 MCFOLD
bool $isAlwaysActive()
const;
221 MCAPI
float $getMaxDistToPlayers()
const;
223 MCFOLD ::ITickingAreaView
const& $getView()
const;
225 MCFOLD ::ITickingAreaView& $getView();
227 MCFOLD ::WeakRef<::BlockSource>
const $getBlockSource()
const;
229 MCFOLD ::WeakRef<::BlockSource> $getBlockSource();
231 MCAPI ::TickingAreaDescription $getDescription()
const;
233 MCAPI ::TickingAreaLoadMode $getLoadMode()
const;
235 MCAPI
void $setLoadMode(::TickingAreaLoadMode loadMode,
::LevelStorage& levelStorage);
237 MCAPI
bool $isPreloadDone()
const;
239 MCAPI
void $tick(
::Tick const& currentTick,
bool randomize);
241 MCAPI
void $tickSeasons(
::Random& random);
243 MCAPI
void $updatePosition(
::Vec3 const& pos);
247 MCAPI ::Actor* $findOwner(uchar& pendingChunks);
249 MCFOLD
bool $entityHasBeenFound()
const;
251 MCFOLD
void $setEntityFound();
253 MCAPI
bool $isRemoved();
258 $onComponentChanged(uint radius,
float maxDistToPlayers,
bool alwaysActive,
::LevelStorage& levelStorage);
260 MCFOLD
bool $isScoped()
const;
262 MCFOLD ::std::optional<uint64>
const& $getScope()
const;
264 MCFOLD
bool $isDoneLoadingScoped()
const;
266 MCAPI
bool $isStandalone()
const;