36class OverworldGenerator :
public ::WorldGenerator {
48 ::ll::TypedStorage<4, 4096, ::std::array<float, 1024>> buffer;
49 ::ll::TypedStorage<4, 1024, ::std::array<float, 256>> depthBuffer;
50 ::ll::TypedStorage<4, 1024, ::std::array<float, 256>> dataBuffer;
51 ::ll::TypedStorage<8, 655360, ::std::array<::Block const*, 81920>> blockBuffer;
52 ::ll::TypedStorage<8, 8, float*> fi;
53 ::ll::TypedStorage<8, 8, float*> fis;
54 ::ll::TypedStorage<8, 2544, ::Random> random;
63 ::ll::TypedStorage<4, 36, float[9]> mBiomeBlendKernel;
64 ::ll::TypedStorage<1, 1, bool const> mIsLegacyWorld;
68 ::Bedrock::Threading::
69 InstancedThreadLocal<::OverworldGenerator::ThreadData, ::std::allocator<::OverworldGenerator::ThreadData>>>
71 ::ll::TypedStorage<8, 32, ::MonsterRoomFeature> monsterRoomFeature;
72 ::ll::TypedStorage<8, 16, ::CanyonFeature> canyonFeature;
73 ::ll::TypedStorage<8, 16, ::UnderwaterCanyonFeature> underwaterCanyonFeature;
83 virtual ~OverworldGenerator() ;
85 virtual void loadChunk(
::LevelChunk& lc,
bool forceImmediateReplacementDataLoad) ;
91 virtual ::Util::MultidimensionalArray<float, 5, 5, 41>
92 generateDensityCellsForChunk(
::ChunkPos const& chunkPos)
const = 0;
94 virtual ::WorldGenerator::BlockVolumeDimensions getBlockVolumeDimensions() const ;
96 virtual
void prepareHeights(
99 ::
std::vector<
short>* ZXheights,
100 bool factorInBeardsAndShavers
105 virtual
int getLevelGenHeight() const = 0;
109 virtual ::
std::unique_ptr<::
Aquifer> tryMakeAquifer(
113 short levelGenHeight,
117 virtual
void decorateWorldGenLoadChunk(
118 ::
Biome const& biome,
131 virtual
void _prepareHeights(
136 ::
std::function<
void(::
BlockPos const&, ::
Block const&,
int)>&& tickUpdateFn,
137 bool factorInBeardsAndShavers,
138 ::
std::vector<
short>* ZXheights
145 MCAPI OverworldGenerator(::
Dimension& dimension,
bool isLegacyWorld);
147 MCAPI
void buildSurfaces(
168 MCAPI
void* $ctor(::
Dimension& dimension,
bool isLegacyWorld);
180 MCAPI
void $loadChunk(::
LevelChunk& lc,
bool forceImmediateReplacementDataLoad);
182 MCAPI
bool $structurePostProcessChunk(::
ChunkViewSource& neighborhoodIn);
184 MCAPI
bool $decorationPostProcessChunk(::
ChunkViewSource& neighborhoodIn);
188 MCAPI
void $prepareHeights(
191 ::
std::vector<
short>* ZXheights,
192 bool factorInBeardsAndShavers
197 MCFOLD ::
std::unique_ptr<::
Aquifer> $tryMakeAquifer(
201 short levelGenHeight,
205 MCFOLD
void $decorateWorldGenLoadChunk(
206 ::
Biome const& biome,