Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
FeatureRegistry Class Reference

Classes

struct  FeatureBinaryJsonFormat

Public Member Functions

MCAPI FeatureRegistry (::Bedrock::NonOwnerPointer<::LinkedAssetValidator > validator)
MCAPI void _registerFeature (::std::string const &name, ::std::unique_ptr<::IFeature > featurePtr)
MCAPI bool _setupFeature (::IWorldRegistriesProvider &worldRegistries, bool isBasePack, ::ResourcePackManager const &rpm, ::std::string const &featureName, ::Json::Value const &jsonDefinition, ::MinEngineVersion const &minEngineVersion, bool serializeFeatures)
MCAPI bool isFeaturePassDefined (::std::string const &featurePass) const
MCAPI void loadFromDefinitions (::IWorldRegistriesProvider &worldRegistries, ::ResourcePackManager const &rpm, bool clientSideGenEnabled)
MCAPI ::WeakRef<::IFeature > lookupByName (::std::string const &name) const
MCAPI ::WeakRef<::IFeature > reserveFeature (::std::string const &name)
MCAPI void setLargeFeaturePasses (::std::vector<::std::string > largeFeaturePasses)
MCAPI void setSmallFeaturePasses (::std::vector<::std::string > smallFeaturePasses)
MCAPI void * $ctor (::Bedrock::NonOwnerPointer<::LinkedAssetValidator > validator)

Static Public Member Functions

static MCAPI ::std::string _featureIdentifierFromInput (::std::string_view filePath, ::Json::Value const &jsonDefinition)
static MCAPI ::std::string const & AFTER_SKY_PASS ()
static MCAPI ::std::string const & AFTER_SURFACE_PASS ()
static MCAPI ::std::string const & AFTER_UNDERGROUND_PASS ()
static MCAPI ::std::string const & BEFORE_SKY_PASS ()
static MCAPI ::std::string const & BEFORE_SURFACE_PASS ()
static MCAPI ::std::string const & BEFORE_UNDERGROUND_PASS ()
static MCAPI ::std::string const & FINAL_PASS ()
static MCAPI ::std::string const & FIRST_PASS ()
static MCAPI ::std::string const & PREGENERATION_PASS ()
static MCAPI ::std::string const & SKY_PASS ()
static MCAPI ::std::string const & SURFACE_PASS ()
static MCAPI ::std::string const & UNDERGROUND_PASS ()

Public Attributes

::ll::TypedStorage< 8, 24, ::Bedrock::NonOwnerPointer<::LinkedAssetValidator > > mValidator
::ll::TypedStorage< 8, 24, ::std::vector<::std::unique_ptr<::IFeature > > > mFeatureRegistry
::ll::TypedStorage< 8, 24, ::std::vector<::OwnerPtr<::IFeature > > > mFeatureSlots
::ll::TypedStorage< 8, 64, ::std::unordered_map<::HashedString, uint64 > > mFeatureLookupMap
::ll::TypedStorage< 8, 24, ::std::vector<::FeatureRegistry::FeatureBinaryJsonFormat > > mFeatureSerializeData
::ll::TypedStorage< 1, 1, bool > mClientInitialized
::ll::TypedStorage< 8, 24, ::std::vector<::std::string > > mLargeFeaturePasses
::ll::TypedStorage< 8, 24, ::std::vector<::std::string > > mSmallFeaturePasses

Member Function Documentation

◆ isFeaturePassDefined()

MCAPI bool FeatureRegistry::isFeaturePassDefined ( ::std::string const & featurePass) 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.

◆ loadFromDefinitions()

MCAPI void FeatureRegistry::loadFromDefinitions ( ::IWorldRegistriesProvider & worldRegistries,
::ResourcePackManager const & rpm,
bool clientSideGenEnabled )
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.

◆ reserveFeature()

MCAPI ::WeakRef<::IFeature > FeatureRegistry::reserveFeature ( ::std::string const & name)
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.

◆ setLargeFeaturePasses()

MCAPI void FeatureRegistry::setLargeFeaturePasses ( ::std::vector<::std::string > largeFeaturePasses)
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.

◆ setSmallFeaturePasses()

MCAPI void FeatureRegistry::setSmallFeaturePasses ( ::std::vector<::std::string > smallFeaturePasses)
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.

◆ _featureIdentifierFromInput()

MCAPI ::std::string FeatureRegistry::_featureIdentifierFromInput ( ::std::string_view filePath,
::Json::Value const & jsonDefinition )
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.

◆ AFTER_SKY_PASS()

MCAPI ::std::string const & FeatureRegistry::AFTER_SKY_PASS ( )
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.

◆ AFTER_UNDERGROUND_PASS()

MCAPI ::std::string const & FeatureRegistry::AFTER_UNDERGROUND_PASS ( )
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.

◆ BEFORE_SKY_PASS()

MCAPI ::std::string const & FeatureRegistry::BEFORE_SKY_PASS ( )
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.

◆ BEFORE_SURFACE_PASS()

MCAPI ::std::string const & FeatureRegistry::BEFORE_SURFACE_PASS ( )
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.

◆ BEFORE_UNDERGROUND_PASS()

MCAPI ::std::string const & FeatureRegistry::BEFORE_UNDERGROUND_PASS ( )
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.

◆ FINAL_PASS()

MCAPI ::std::string const & FeatureRegistry::FINAL_PASS ( )
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.

◆ FIRST_PASS()

MCAPI ::std::string const & FeatureRegistry::FIRST_PASS ( )
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.

◆ PREGENERATION_PASS()

MCAPI ::std::string const & FeatureRegistry::PREGENERATION_PASS ( )
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.

◆ SKY_PASS()

MCAPI ::std::string const & FeatureRegistry::SKY_PASS ( )
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.

◆ SURFACE_PASS()

MCAPI ::std::string const & FeatureRegistry::SURFACE_PASS ( )
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.

◆ UNDERGROUND_PASS()

MCAPI ::std::string const & FeatureRegistry::UNDERGROUND_PASS ( )
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: