26 ::ll::TypedStorage<4, 4, ::ChunkSource::LoadMode> mParentLoadMode;
27 ::ll::TypedStorage<8, 376, ::GridArea<::std::shared_ptr<::LevelChunk>>> mArea;
28 ::ll::TypedStorage<8, 8, ::ChunkSource&> mMainSource;
40 virtual ::std::shared_ptr<::LevelChunk> getExistingChunk(
::ChunkPos const& pos) ;
43 virtual ::std::shared_ptr<::LevelChunk> getRandomChunk(
::Random& random) ;
46 virtual void acquireDiscarded(::std::unique_ptr<::LevelChunk, ::LevelChunkFinalDeleter> ptr) ;
49 virtual ::std::shared_ptr<::LevelChunk>
50 createNewChunk(
::ChunkPos const& cp, ::ChunkSource::LoadMode lm,
bool readOnly) ;
53 virtual bool isWithinWorldLimit(
::ChunkPos const& cp)
const ;
56 virtual void setLevelChunk(::std::shared_ptr<::LevelChunk> lc) ;
73 MCAPI
void clearEntryAtChunkPos(
::ChunkPos const& chunkPos);
78 ::ChunkSourceViewGenerateMode chunkViewGenerateMode,
80 float const* serverBuildRatio
87 ::ChunkSourceViewGenerateMode chunkViewGenerateMode,
89 float const* serverBuildRatio
96 ::ChunkSourceViewGenerateMode chunkViewGenerateMode,
98 float const* serverBuildRatio
123 MCAPI ::std::shared_ptr<::LevelChunk> $getExistingChunk(
::ChunkPos const& pos);
125 MCAPI ::std::shared_ptr<::LevelChunk> $getRandomChunk(
::Random& random);
127 MCAPI
void $acquireDiscarded(::std::unique_ptr<::LevelChunk, ::LevelChunkFinalDeleter> ptr);
129 MCFOLD ::std::shared_ptr<::LevelChunk>
130 $createNewChunk(
::ChunkPos const& cp, ::ChunkSource::LoadMode lm,
bool readOnly);
132 MCAPI
bool $isWithinWorldLimit(
::ChunkPos const& cp)
const;
134 MCAPI
void $setLevelChunk(::std::shared_ptr<::LevelChunk> lc);