51 using is_transparent = void;
58 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::SharedTypes::v1_26_0::BiomeJsonDocument>> mBiomeDocument;
66 ::ll::TypedStorage<4, 4, float> mTemperature;
67 ::ll::TypedStorage<4, 4, float> mDownfall;
68 ::ll::TypedStorage<4, 4, float> mFoliageSnow;
72 using BiomeNameLookupMap = ::std::unordered_map<uint64, ::std::unique_ptr<::Biome>>;
78 ::ll::TypedStorage<8, 720, ::WellKnownBiomeTags const> mWellKnownBiomeTags;
79 ::ll::TypedStorage<1, 1, bool> mSurfaceBuildersResolved;
80 ::ll::TypedStorage<1, 1, bool> mClientInitialized;
81 ::ll::TypedStorage<8, 64, ::std::unordered_map<uint64, ::std::unique_ptr<::Biome>>> mBiomesByName;
86 ::gsl::not_null<::Biome*>,
88 ::std::vector<::gsl::not_null<::Biome*>>>>
90 ::ll::TypedStorage<8, 24, ::std::vector<::std::pair<::BiomeIdType const, ::std::string const&>>>
91 mRemovedBiomesIdAndFullName;
92 ::ll::TypedStorage<4, 4, uint> mNextCustomBiomeId;
93 ::ll::TypedStorage<1, 1, ::std::atomic<bool>> mClosedForRegistration;
94 ::ll::TypedStorage<8, 8, ::Biome*> mEmptyBiome;
95 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnSaveSubscription;
96 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnLevelStorageManagerStartLeaveGameSubscription;
97 ::ll::TypedStorage<8, 24, ::std::vector<::BiomeRegistry::SeasonTextureRowSettings>> mSeasonTextureRowSettings;
103 virtual ~BiomeRegistry() ;
109 MCAPI BiomeRegistry();
111 MCAPI ::Biome& _register(::std::string_view name,
::BiomeIdType id);
117 MCAPI ::std::vector<::std::string>
const biomeGetTags(
::Biome const& biome)
const;
121 MCAPI
bool biomeHasTag(
::Biome const& biome, uint64 tagHash)
const;
133 MCAPI ::std::vector<::Biome const*> getBiomesInDimension(::DimensionType type)
const;
135 MCAPI
void initServerFromPacks(
138 ::std::unordered_map<::std::string, ::std::unique_ptr<::BiomeJsonDocumentGlueResolvedBiomeData>>&
139 biomeIdToResolvedData
145 MCAPI
void loadAllBiomeDocuments(
151 ::std::unordered_map<::std::string, ::std::unique_ptr<::BiomeJsonDocumentGlueResolvedBiomeData>>&
152 biomeIdToResolvedData,
161 MCAPI ::Biome
const* lookupByHash(
::HashedString const& hash)
const;
170 MCAPI ::Biome
const* lookupByName(::std::string
const& name)
const;
172 MCAPI ::Biome* lookupByName(::std::string
const& name);
174 MCAPI
void removeFailedToLoadBiomes();
Definition BiomeRegistry.h:62