Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
BiomeRegistry Class Reference
Inheritance diagram for BiomeRegistry:

Classes

struct  BiomeComparator
struct  LoadedBiomeDocument
struct  SeasonTextureRowSettings

Public Types

using BiomeNameLookupMap = ::std::unordered_map<uint64, ::std::unique_ptr<::Biome>>

Public Member Functions

MCAPI BiomeRegistry ()
MCAPI::Biome & _register (::std::string_view name, ::BiomeIdType id)
MCAPI void _save (::LevelStorage &levelStorage) const
MCAPI ::std::vector<::std::string > const biomeGetTags (::Biome const &biome) const
MCAPI bool biomeHasTag (::Biome const &biome, ::HashedString const &id) const
MCAPI bool biomeHasTag (::Biome const &biome, uint64 tagHash) const
MCAPI bool biomeHasTag (::Biome const &biome, ::IDType<::BiomeTagIDType > const &tagID) const
MCAPI bool biomeHasTag (::Biome const &biome, ::WellKnownTagID const &tagID) const
MCAPI ::std::vector<::Biome const * > getBiomesInDimension (::DimensionType type) const
MCAPI void initializeWithLevelStorageManagerConnector (::ILevelStorageManagerConnector &levelStorageManagerConnector)
MCAPI void loadAllBiomeDocuments (::ResourcePackManager const &loader, ::cereal::ReflectionCtx &ctx, ::Bedrock::NonOwnerPointer<::LinkedAssetValidator > linkedAssetValidator, ::BaseGameVersion const &baseGameVersion, ::BiomeJsonDocumentGlue &biomeJsonDocumentGlue, ::std::unordered_map<::std::string, ::std::unique_ptr<::BiomeJsonDocumentGlueResolvedBiomeData > > &biomeIdToResolvedData, ::Experiments const &activeExperiments, ::IMinecraftEventing &eventing)
MCAPI void loadBiomeData (::LevelStorage const &levelStorage)
MCAPI void loadBiomeTable (::LevelStorage const &levelStorage)
MCAPI::Biome const * lookupByHashId (::BiomeHashType id) const
MCAPI::Biome * lookupByHashId (::BiomeHashType id)
MCAPI::Biome * lookupById (::BiomeIdType id)
MCFOLD::Biome const * lookupByName (::std::string const &name) const
MCFOLD::Biome * lookupByName (::std::string const &name)
MCAPI void * $ctor ()
MCFOLD void $dtor ()

Static Public Member Functions

static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 8, 128, ::TagRegistry<::IDType<::BiomeTagIDType >, ::IDType<::BiomeTagSetIDType > > > mTagRegistry
::ll::TypedStorage< 8, 720, ::WellKnownBiomeTags const > mWellKnownBiomeTags
::ll::TypedStorage< 1, 1, bool > mSurfaceBuildersResolved
::ll::TypedStorage< 1, 1, bool > mClientInitialized
::ll::TypedStorage< 8, 64, ::std::unordered_map< uint64, ::std::unique_ptr<::Biome > > > mBiomesByName
::ll::TypedStorage< 8, 24, ::brstd::flat_set< ::gsl::not_null<::Biome * >, ::BiomeRegistry::BiomeComparator, ::std::vector<::gsl::not_null<::Biome * > > > > mBiomesById
::ll::TypedStorage< 8, 24, ::std::vector<::std::pair<::BiomeIdType const, ::std::string const & > > > mRemovedBiomesIdAndFullName
::ll::TypedStorage< 4, 4, uint > mNextCustomBiomeId
::ll::TypedStorage< 1, 1, ::std::atomic< bool > > mClosedForRegistration
::ll::TypedStorage< 8, 8, ::Biome * > mEmptyBiome
::ll::TypedStorage< 8, 16, ::Bedrock::PubSub::Subscription > mOnSaveSubscription
::ll::TypedStorage< 8, 16, ::Bedrock::PubSub::Subscription > mOnLevelStorageManagerStartLeaveGameSubscription
::ll::TypedStorage< 8, 24, ::std::vector<::BiomeRegistry::SeasonTextureRowSettings > > mSeasonTextureRowSettings
::std::shared_ptr<::Bedrock::EnableNonOwnerReferences::ControlBlock > mControlBlock

Constructor & Destructor Documentation

◆ BiomeRegistry()

MCAPI BiomeRegistry::BiomeRegistry ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

Member Function Documentation

◆ _register()

MCAPI::Biome & BiomeRegistry::_register ( ::std::string_view name,
::BiomeIdType id )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _save()

MCAPI void BiomeRegistry::_save ( ::LevelStorage & levelStorage) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ biomeGetTags()

MCAPI ::std::vector<::std::string > const BiomeRegistry::biomeGetTags ( ::Biome const & biome) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ biomeHasTag() [1/3]

MCAPI bool BiomeRegistry::biomeHasTag ( ::Biome const & biome,
uint64 tagHash ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ biomeHasTag() [2/3]

MCAPI bool BiomeRegistry::biomeHasTag ( ::Biome const & biome,
::IDType<::BiomeTagIDType > const & tagID ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ biomeHasTag() [3/3]

MCAPI bool BiomeRegistry::biomeHasTag ( ::Biome const & biome,
::WellKnownTagID const & tagID ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ getBiomesInDimension()

MCAPI ::std::vector<::Biome const * > BiomeRegistry::getBiomesInDimension ( ::DimensionType type) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ initializeWithLevelStorageManagerConnector()

MCAPI void BiomeRegistry::initializeWithLevelStorageManagerConnector ( ::ILevelStorageManagerConnector & levelStorageManagerConnector)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ loadAllBiomeDocuments()

MCAPI void BiomeRegistry::loadAllBiomeDocuments ( ::ResourcePackManager const & loader,
::cereal::ReflectionCtx & ctx,
::Bedrock::NonOwnerPointer<::LinkedAssetValidator > linkedAssetValidator,
::BaseGameVersion const & baseGameVersion,
::BiomeJsonDocumentGlue & biomeJsonDocumentGlue,
::std::unordered_map<::std::string, ::std::unique_ptr<::BiomeJsonDocumentGlueResolvedBiomeData > > & biomeIdToResolvedData,
::Experiments const & activeExperiments,
::IMinecraftEventing & eventing )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ loadBiomeData()

MCAPI void BiomeRegistry::loadBiomeData ( ::LevelStorage const & levelStorage)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ loadBiomeTable()

MCAPI void BiomeRegistry::loadBiomeTable ( ::LevelStorage const & levelStorage)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ lookupByHashId() [1/2]

MCAPI::Biome const * BiomeRegistry::lookupByHashId ( ::BiomeHashType id) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ lookupByHashId() [2/2]

MCAPI::Biome * BiomeRegistry::lookupByHashId ( ::BiomeHashType id)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ lookupById()

MCAPI::Biome * BiomeRegistry::lookupById ( ::BiomeIdType id)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $ctor()

MCAPI void * BiomeRegistry::$ctor ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $vftable()

MCAPI void ** BiomeRegistry::$vftable ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

The documentation for this class was generated from the following file: