16class StructureTemplatePool {
20 ::ll::TypedStorage<8, 32, ::std::string> mName;
21 ::ll::TypedStorage<8, 24, ::std::vector<::StructurePoolElement const*>> mTemplates;
22 ::ll::TypedStorage<8, 32, ::std::string> mFallback;
27 StructureTemplatePool();
32 MCAPI StructureTemplatePool(
34 ::std::string fallback,
35 ::std::vector<::std::pair<::StructurePoolElement const*, int>>
const& templates
38 MCAPI ::std::vector<uint64> getShuffledTemplateIndexes(
::Random& random)
const;
40 MCAPI ~StructureTemplatePool();
46 MCAPI static ::std::unique_ptr<::StructureTemplatePool> create(
48 ::std::string_view name,
49 ::std::string_view fallback,
50 ::std::initializer_list<::WeightedStructureTemplateRegistration> pieces,
51 ::Projection projection
60 ::std::string fallback,
61 ::std::vector<::std::pair<::StructurePoolElement const*, int>>
const& templates
Definition StructureTemplateRegistrationContext.h:17