44 ::ll::TypedStorage<8, 8, ::std::shared_mutex> mRepositoryMutex;
45 ::ll::TypedStorage<8, 64, ::std::unordered_map<::std::string, ::std::unique_ptr<::LegacyStructureTemplate>>>
46 mLegacyStructureRepository;
47 ::ll::TypedStorage<8, 64, ::std::unordered_map<::std::string, ::std::unique_ptr<::StructureTemplate>>>
49 ::ll::TypedStorage<8, 24, ::std::vector<::std::unique_ptr<::StructureAnimationData>>> mStructurePlacementQueue;
50 ::ll::TypedStorage<4, 4, uint> mStructurePlacementSaveCounter;
51 ::ll::TypedStorage<8, 24, ::Bedrock::NonOwnerPointer<::IUnknownBlockTypeRegistry>> mUnknownBlockRegistry;
52 ::ll::TypedStorage<8, 24, ::Bedrock::NonOwnerPointer<::ResourcePackManager>
const> mPackManager;
53 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::SharedTypes::v1_21_50::JigsawStructureMetadataRegistry>>
55 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::cereal::ReflectionCtx>> mCerealContext;
70 MCAPI ::StructureTemplate* _createAndLoadStructure(
71 ::std::string
const& structureName,
76 MCAPI ::std::string _createLevelStorageId(::std::string
const& dimensionPrefix, ::std::string
const& saveId);
78 MCAPI
bool _findResource(
81 ::std::string& resourceStream
84 MCAPI ::SharedTypes::v1_21_50::JigsawStructureMetadataRegistry& _getMetadataRegistry()
const;
88 MCAPI
bool _placeSegment(
93 ::std::function<::ChunksLoadedStatus(
::Tick)>
const& areChunksLoaded
96 MCAPI ::LegacyStructureTemplate* _readLegacyStructure(::std::string
const& name);
104 MCAPI ::StructureTemplate&
105 cloneStructure(
::StructureTemplate const& structureTemplate, ::std::string
const& structureName);
107 MCAPI ::StructureDeleteResult deleteStructure(::std::string
const& structureName,
::LevelStorage& levelStorage);
109 MCAPI ::StructureTemplate& getOrCreate(::std::string
const& structureName);
111 MCAPI ::LegacyStructureTemplate& getOrCreateLegacy(::std::string
const& structureName);
113 MCAPI ::StructureTemplate* getStructure(::std::string
const& structureName)
const;
115 MCAPI ::std::vector<::std::string> getStructureNames(
::LevelStorage& levelStorage,
bool includeUnremovable)
const;
117 MCAPI
void importStructureFromTemplate(::std::string name,
::StructureTemplate const& temp);
134 MCAPI
void queueLoad(::std::unique_ptr<::StructureAnimationData> structureAnimationData);
144 MCAPI ::QueueRequestResult tryPlaceStructureInWorld(
145 ::std::unique_ptr<::CommandArea> cmdArea,
152 ::std::unique_ptr<::StructureAnimationData> structureAnimationData
159 MCAPI static ::std::unique_ptr<::SharedTypes::v1_21_50::JigsawStructureMetadataRegistry>
162 MCAPI
static void _metadataPackForEachCallback(
166 ::std::string& fileData,
170 MCAPI static ::Core::PathBuffer<::Core::BasicStackString<char, 1024>>
171 getStructurePath(::std::string
const& structureFullName);
173 MCAPI static ::Core::PathBuffer<::Core::BasicStackString<char, 1024>>
174 getStructurePath(::std::string
const& structureNamespace, ::std::string
const& structureName);
180 MCAPI
static char const*& BEHAVIOR_PACK_STRUCTURES_FOLDER();
182 MCAPI
static char const*& LEVEL_STORAGE_STRUCTURE_TEMPLATE_PREFIX();
200 MCAPI
static void** $vftable();