50 using is_transparent = void;
57 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::SharedTypes::v1_21_120::BiomeJsonDocument>> mBiomeDocument;
65 ::ll::TypedStorage<4, 4, float> mTemperature;
66 ::ll::TypedStorage<4, 4, float> mDownfall;
67 ::ll::TypedStorage<4, 4, float> mFoliageSnow;
71 using BiomeNameLookupMap = ::std::unordered_map<uint64, ::std::unique_ptr<::Biome>>;
76 ::ll::TypedStorage<8, 600, ::WellKnownBiomeTags> mWellKnownBiomeTags;
77 ::ll::TypedStorage<1, 1, bool> mSurfaceBuildersResolved;
78 ::ll::TypedStorage<1, 1, bool> mClientInitialized;
79 ::ll::TypedStorage<8, 64, ::std::unordered_map<uint64, ::std::unique_ptr<::Biome>>> mBiomesByName;
84 ::gsl::not_null<::Biome*>,
86 ::std::vector<::gsl::not_null<::Biome*>>>>
88 ::ll::TypedStorage<8, 24, ::std::vector<::std::pair<::BiomeIdType const, ::std::string const&>>>
89 mRemovedBiomesIdAndFullName;
90 ::ll::TypedStorage<4, 4, uint> mNextCustomBiomeId;
91 ::ll::TypedStorage<1, 1, ::std::atomic<bool>> mClosedForRegistration;
93 ::ll::TypedStorage<8, 8, ::Biome*> mEmptyBiome;
94 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnSaveSubscription;
95 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnLevelStorageManagerStartLeaveGameSubscription;
96 ::ll::TypedStorage<8, 24, ::std::vector<::BiomeRegistry::SeasonTextureRowSettings>> mSeasonTextureRowSettings;
102 virtual ~BiomeRegistry() ;
108 MCAPI BiomeRegistry();
110 MCAPI
void _initTagRegistry();
112 MCAPI ::Biome& _register(::std::string_view name,
::BiomeIdType id);
122 MCAPI
bool biomeHasTag(
::Biome const& biome, uint64 tagHash)
const;
126 MCFOLD
void forEachBiome(::std::function<
void(
::Biome const&)> callback)
const;
128 MCFOLD
void forEachNonConstBiome(::std::function<
void(
::Biome&)> callback);
130 MCAPI ::std::vector<::Biome const*> getBiomesInDimension(::DimensionType type)
const;
132 MCAPI
void initServerFromPacks(
135 ::std::unordered_map<::std::string, ::std::unique_ptr<::BiomeJsonDocumentGlue::ResolvedBiomeData>>&
136 biomeIdToResolvedData
142 MCAPI
void loadAllBiomeDocuments(
148 ::std::unordered_map<::std::string, ::std::unique_ptr<::BiomeJsonDocumentGlue::ResolvedBiomeData>>&
149 biomeIdToResolvedData
162 MCAPI ::Biome
const* lookupByName(::std::string
const& name)
const;
164 MCAPI ::Biome* lookupByName(::std::string
const& name);
166 MCAPI
void removeFailedToLoadBiomes();
Definition BiomeRegistry.h:61