LeviLamina
Loading...
Searching...
No Matches
AutomaticFeatureRules.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/puv/LoadResult.h"
7#include "mc/world/level/BiomeFilterGroup.h"
8#include "mc/world/level/biome/components/BiomeDecorationFeature.h"
9
10// auto generated forward declare list
11// clang-format off
13class HashedString;
19namespace SharedTypes::v1_21_20 { struct AutomaticFeatureRulesData; }
20namespace cereal { struct ReflectionCtx; }
21// clang-format on
22
23class AutomaticFeatureRules {
24public:
25 // AutomaticFeatureRules inner types declare
26 // clang-format off
28 // clang-format on
29
30 // AutomaticFeatureRules inner types define
32 public:
33 // member variables
34 // NOLINTBEGIN
35 ::ll::TypedStorage<8, 328, ::BiomeDecorationFeature> mAutoFeature;
36 ::ll::TypedStorage<8, 64, ::BiomeFilterGroup> mBiomeFilter;
37 // NOLINTEND
38 };
39
40 using AutomaticFeaturePriorityList = ::std::unordered_map<
41 ::std::string,
42 ::std::unordered_map<::HashedString, ::AutomaticFeatureRules::AutomaticFeatureRule>>;
43
44public:
45 // member variables
46 // NOLINTBEGIN
47 ::ll::TypedStorage<
48 8,
49 264,
53 nullptr_t,
54 nullptr_t,
56 mLoader;
57 ::ll::TypedStorage<8, 8, ::IMinecraftEventing&> mEventing;
58 // NOLINTEND
59
60public:
61 // prevent constructor by default
62 AutomaticFeatureRules& operator=(AutomaticFeatureRules const&);
63 AutomaticFeatureRules(AutomaticFeatureRules const&);
64 AutomaticFeatureRules();
65
66public:
67 // member functions
68 // NOLINTBEGIN
69 MCAPI AutomaticFeatureRules(::cereal::ReflectionCtx const& ctx, ::IMinecraftEventing& eventing);
70
71 MCAPI ::Puv::LoadResult<::SharedTypes::v1_21_20::AutomaticFeatureRulesData> _parseAndInsertUnsorted(
72 ::std::string const& filename,
73 ::std::string&& data,
74 ::MinEngineVersion const& minEngineVersion,
75 ::IWorldRegistriesProvider& worldRegistries,
76 ::std::unordered_map<
77 ::std::string,
78 ::std::unordered_map<::HashedString, ::AutomaticFeatureRules::AutomaticFeatureRule>>& bucketedFeatures,
79 bool isBasePack
80 ) const;
81
82 MCAPI void attachAutomaticFeatures(
83 ::ResourcePackManager& resourcePackManager,
84 ::IWorldRegistriesProvider& worldRegistries,
85 ::std::unordered_map<::HashedString, ::BiomeDecorationFeature>& biomeDecorationFeatureMap
86 ) const;
87 // NOLINTEND
88
89public:
90 // static variables
91 // NOLINTBEGIN
92 MCAPI static ::SemVersionConstant const& SCHEMA_VERSION_1();
93 // NOLINTEND
94
95public:
96 // constructor thunks
97 // NOLINTBEGIN
98 MCAPI void* $ctor(::cereal::ReflectionCtx const& ctx, ::IMinecraftEventing& eventing);
99 // NOLINTEND
100};
Definition BedrockLoadContext.h:5
Definition HashedString.h:5
Definition IMinecraftEventing.h:147
Definition IWorldRegistriesProvider.h:25
Definition MinEngineVersion.h:15
Definition _HeaderOutputPredefine.h:398
Definition ResourcePackManager.h:36
Definition SemVersionConstant.h:8
Definition AutomaticFeatureRules.h:31
Definition AutomaticFeatureRulesData.h:17
Definition ReflectionCtx.h:11
Definition ctx.h:5