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;
39 virtual ::std::shared_ptr<::LevelChunk> getExistingChunk(
::ChunkPos const& pos) ;
42 virtual ::std::shared_ptr<::LevelChunk> getRandomChunk(
::Random& random) ;
45 virtual void acquireDiscarded(::std::unique_ptr<::LevelChunk, ::LevelChunkFinalDeleter> ptr) ;
48 virtual ::std::shared_ptr<::LevelChunk>
49 createNewChunk(
::ChunkPos const& cp, ::ChunkSource::LoadMode lm,
bool readOnly) ;
52 virtual bool isWithinWorldLimit(
::ChunkPos const& cp)
const ;
55 virtual void setLevelChunk(::std::shared_ptr<::LevelChunk> lc) ;
72 MCAPI
void clearEntryAtChunkPos(
::ChunkPos const& chunkPos);
77 ::ChunkSourceViewGenerateMode chunkViewGenerateMode,
79 float const* serverBuildRatio
86 ::ChunkSourceViewGenerateMode chunkViewGenerateMode,
88 float const* serverBuildRatio
95 ::ChunkSourceViewGenerateMode chunkViewGenerateMode,
97 float const* serverBuildRatio
122 MCAPI ::std::shared_ptr<::LevelChunk> $getExistingChunk(
::ChunkPos const& pos);
124 MCAPI ::std::shared_ptr<::LevelChunk> $getRandomChunk(
::Random& random);
126 MCAPI
void $acquireDiscarded(::std::unique_ptr<::LevelChunk, ::LevelChunkFinalDeleter> ptr);
128 MCFOLD ::std::shared_ptr<::LevelChunk>
129 $createNewChunk(
::ChunkPos const& cp, ::ChunkSource::LoadMode lm,
bool readOnly);
131 MCAPI
bool $isWithinWorldLimit(
::ChunkPos const& cp)
const;
133 MCAPI
void $setLevelChunk(::std::shared_ptr<::LevelChunk> lc);
139 MCAPI
static void** $vftable();