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
8// auto generated forward declare list
9// clang-format off
10class AppPlatform;
11class FeatureRegistry;
12class HashedString;
18namespace SharedTypes::v1_21_20 { struct AutomaticFeatureRulesData; }
19namespace cereal { struct ReflectionCtx; }
20// clang-format on
21
23public:
24 // AutomaticFeatureRules inner types declare
25 // clang-format off
27 // clang-format on
28
29 // AutomaticFeatureRules inner types define
31 public:
32 // member variables
33 // NOLINTBEGIN
36 // NOLINTEND
37
38 public:
39 // prevent constructor by default
43
44 public:
45 // member functions
46 // NOLINTBEGIN
48 // NOLINTEND
49
50 public:
51 // destructor thunk
52 // NOLINTBEGIN
53 MCAPI void $dtor();
54 // NOLINTEND
55 };
56
57public:
58 // member variables
59 // NOLINTBEGIN
61 // NOLINTEND
62
63public:
64 // prevent constructor by default
68
69public:
70 // member functions
71 // NOLINTBEGIN
73
74 MCAPI void _applyAutomaticFeatureRuleDefinition(
76 ::SharedTypes::v1_21_20::AutomaticFeatureRulesData const& automaticFeatureRulesData,
77 ::MinEngineVersion const& minEngineVersion,
78 ::FeatureRegistry& featureRegistry
79 ) const;
80
81 MCAPI void _parseAndInsertUnsorted(
82 ::std::string const& filename,
83 ::std::string&& data,
84 ::MinEngineVersion const& minEngineVersion,
85 ::IWorldRegistriesProvider& worldRegistries,
86 ::std::unordered_map<
87 ::std::string,
88 ::std::unordered_map<::HashedString, ::AutomaticFeatureRules::AutomaticFeatureRule>>& bucketedFeatures,
89 bool isBasePack
90 ) const;
91
92 MCAPI void attachAutomaticFeatures(
93 ::ResourcePackManager& resourcePackManager,
94 ::IWorldRegistriesProvider& worldRegistries,
95 ::std::unordered_map<::HashedString, ::BiomeDecorationFeature>& biomeDecorationFeatureMap
96 ) const;
97
98 MCAPI ::std::unordered_map<
99 ::std::string,
100 ::std::unordered_map<::HashedString, ::AutomaticFeatureRules::AutomaticFeatureRule>>
101 parseAutomaticFeatures(
103 ::ResourcePackManager& resourcePackManager,
104 ::IWorldRegistriesProvider& worldRegistries
105 ) const;
106 // NOLINTEND
107
108public:
109 // static variables
110 // NOLINTBEGIN
111 MCAPI static ::SemVersionConstant const& SCHEMA_VERSION_1();
112 // NOLINTEND
113
114public:
115 // constructor thunks
116 // NOLINTBEGIN
117 MCAPI void* $ctor(::cereal::ReflectionCtx const& ctx);
118 // NOLINTEND
119};
Definition AppPlatform.h:49
Definition AutomaticFeatureRules.h:22
Definition FeatureRegistry.h:18
Definition HashedString.h:5
Definition IWorldRegistriesProvider.h:26
Definition MinEngineVersion.h:10
Definition ResourcePackManager.h:24
Definition SemVersionConstant.h:8
Definition ServiceReference.h:8
Definition AutomaticFeatureRules.h:30
Definition BiomeDecorationFeature.h:15
Definition AutomaticFeatureRulesData.h:13
Definition ReflectionCtx.h:11
Definition ctx.h:5
Definition Alias.h:14