30class FlatWorldGenerator :
public ::WorldGenerator {
33 using LayerList = ::std::vector<::Block const*>;
38 ::ll::TypedStorage<8, 24, ::std::vector<::Block const*>> mPrototypeBlocks;
39 ::ll::TypedStorage<8, 40, ::BlockVolume> mPrototype;
40 ::ll::TypedStorage<1, 1, bool> mIsVoidWorld;
41 ::ll::TypedStorage<8, 8, ::Biome const*> mBiome;
42 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::FixedBiomeSource>> mBiomeSource;
43 ::ll::TypedStorage<2, 2, short> mMaxHeight;
53 virtual void loadChunk(
::LevelChunk& lc,
bool forceImmediateReplacementDataLoad) ;
59 virtual ::HashedString findStructureFeatureTypeAt(
::BlockPos const& pos) ;
63 virtual bool findNearestStructureFeature(
67 bool mustBeInNewChunks,
68 ::std::optional<::HashedString> biomeTag,
77 virtual ::BiomeArea getBiomeArea(
::BoundingBox const& area, uint scale)
const ;
79 virtual ::BlockPos findSpawnPosition()
const ;
81 virtual ::BiomeSource
const& getBiomeSource()
const ;
83 virtual ::WorldGenerator::BlockVolumeDimensions getBlockVolumeDimensions()
const ;
108 MCAPI
void $loadChunk(
::LevelChunk& lc,
bool forceImmediateReplacementDataLoad);
115 MCAPI ::HashedString $findStructureFeatureTypeAt(
::BlockPos const& pos);
117 MCFOLD ::HashedString $findStructureFeatureTypeAt(
::BlockPos const& pos);
122 MCAPI
bool $findNearestStructureFeature(
126 bool mustBeInNewChunks,
127 ::std::optional<::HashedString> biomeTag,
128 int searchRadiusCells
135 MCAPI ::BiomeArea $getBiomeArea(
::BoundingBox const& area, uint scale)
const;
137 MCAPI ::BlockPos $findSpawnPosition()
const;
139 MCAPI ::BiomeSource
const& $getBiomeSource()
const;
141 MCAPI ::WorldGenerator::BlockVolumeDimensions $getBlockVolumeDimensions()
const;