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/core/utility/ServiceReference.h"
7#include "mc/deps/puv/LoadResult.h"
8#include "mc/deps/puv/SlicedLoader.h"
9#include "mc/world/level/BiomeFilterGroup.h"
10#include "mc/world/level/biome/components/BiomeDecorationFeature.h"
11
12// auto generated forward declare list
13// clang-format off
14class AppPlatform;
16class FeatureRegistry;
17class HashedString;
23namespace SharedTypes::v1_21_20 { struct AutomaticFeatureRulesData; }
24namespace cereal { struct ReflectionCtx; }
25// clang-format on
26
28public:
29 // AutomaticFeatureRules inner types declare
30 // clang-format off
32 // clang-format on
33
34 // AutomaticFeatureRules inner types define
36 public:
37 // member variables
38 // NOLINTBEGIN
39 ::ll::TypedStorage<8, 328, ::BiomeDecorationFeature> mAutoFeature;
40 ::ll::TypedStorage<8, 64, ::BiomeFilterGroup> mBiomeFilter;
41 // NOLINTEND
42
43 public:
44 // member functions
45 // NOLINTBEGIN
47 // NOLINTEND
48
49 public:
50 // destructor thunk
51 // NOLINTBEGIN
52 MCAPI void $dtor();
53 // NOLINTEND
54 };
55
56 using AutomaticFeaturePriorityList = ::std::unordered_map<
57 ::std::string,
58 ::std::unordered_map<::HashedString, ::AutomaticFeatureRules::AutomaticFeatureRule>>;
59
60public:
61 // member variables
62 // NOLINTBEGIN
63 ::ll::TypedStorage<
64 8,
65 192,
67 mLoader;
68 ::ll::TypedStorage<8, 8, ::IMinecraftEventing&> mEventing;
69 // NOLINTEND
70
71public:
72 // prevent constructor by default
76
77public:
78 // member functions
79 // NOLINTBEGIN
81
82 MCAPI void _applyAutomaticFeatureRuleDefinition(
84 ::SharedTypes::v1_21_20::AutomaticFeatureRulesData const& automaticFeatureRulesData,
85 ::MinEngineVersion const& minEngineVersion,
86 ::FeatureRegistry& featureRegistry
87 ) const;
88
89 MCAPI ::Puv::LoadResult<::SharedTypes::v1_21_20::AutomaticFeatureRulesData> _parseAndInsertUnsorted(
90 ::std::string const& filename,
91 ::std::string&& data,
92 ::MinEngineVersion const& minEngineVersion,
93 ::IWorldRegistriesProvider& worldRegistries,
94 ::std::unordered_map<
95 ::std::string,
96 ::std::unordered_map<::HashedString, ::AutomaticFeatureRules::AutomaticFeatureRule>>& bucketedFeatures,
97 bool isBasePack
98 ) const;
99
100 MCAPI void attachAutomaticFeatures(
101 ::ResourcePackManager& resourcePackManager,
102 ::IWorldRegistriesProvider& worldRegistries,
103 ::std::unordered_map<::HashedString, ::BiomeDecorationFeature>& biomeDecorationFeatureMap
104 ) const;
105
106 MCAPI ::std::unordered_map<
107 ::std::string,
108 ::std::unordered_map<::HashedString, ::AutomaticFeatureRules::AutomaticFeatureRule>>
109 parseAutomaticFeatures(
111 ::ResourcePackManager& resourcePackManager,
112 ::IWorldRegistriesProvider& worldRegistries
113 ) const;
114 // NOLINTEND
115
116public:
117 // static variables
118 // NOLINTBEGIN
119 MCAPI static ::SemVersionConstant const& SCHEMA_VERSION_1();
120 // NOLINTEND
121
122public:
123 // constructor thunks
124 // NOLINTBEGIN
125 MCAPI void* $ctor(::cereal::ReflectionCtx const& ctx, ::IMinecraftEventing& eventing);
126 // NOLINTEND
127};
Definition AppPlatform.h:50
Definition AutomaticFeatureRules.h:27
Definition BedrockLoadContext.h:14
Definition FeatureRegistry.h:18
Definition HashedString.h:5
Definition IMinecraftEventing.h:147
Definition IWorldRegistriesProvider.h:26
Definition MinEngineVersion.h:10
Definition SlicedLoader.h:8
Definition ResourcePackManager.h:24
Definition SemVersionConstant.h:8
Definition ServiceReference.h:8
Definition AutomaticFeatureRules.h:35
Definition AutomaticFeatureRulesData.h:13
Definition ReflectionCtx.h:11
Definition ctx.h:5