19class StructureFeatureRegistry {
22 using StructureFeatureContainer = ::std::vector<::std::unique_ptr<::StructureFeature>>;
27 ::ll::TypedStorage<8, 48, ::br::worldgen::ChunkGeneratorStructureState> mGeneratorState;
28 ::ll::TypedStorage<8, 24, ::std::vector<::std::unique_ptr<::StructureFeature>>> mStructureFeatures;
29 ::ll::TypedStorage<8, 136, ::br::worldgen::StructureCache> mStructureCache;
35 MCAPI StructureFeatureRegistry();
37 MCAPI
bool findNearestStructureFeature(
44 bool mustBeInNewChunks,
45 ::std::optional<::HashedString> biomeTag
48 MCAPI ::HashedString findStructureFeatureTypeAt(
::BlockPos const& pos);
50 MCAPI ::StructureFeature* getStructureFeatureOfType(
::HashedString type)
const;
54 MCFOLD ::br::worldgen::StructureCache& structureCache();
58 MCAPI
void waitForBlueprints()
const;
60 MCAPI ~StructureFeatureRegistry();