LeviLamina
Loading...
Searching...
No Matches
BlockDefinitionGroup Class Reference

Classes

struct  BlockResource
 

Public Member Functions

BlockDefinitionGroupoperator= (BlockDefinitionGroup const &)
 
 BlockDefinitionGroup (BlockDefinitionGroup const &)
 
MCAPI BlockDefinitionGroup (::cereal::ReflectionCtx const &ctx)
 
MCAPI void _applyBlockStates (::BlockLegacy *block, ::BlockDefinition const &definition)
 
MCAPI void _buildBlockDescriptionSchema (::std::shared_ptr<::JsonUtil::JsonSchemaObjectNode<::JsonUtil::EmptyClass, ::BlockDescription > > &description)
 
MCAPI void _buildBlockMenuCategorySchema (::std::shared_ptr<::JsonUtil::JsonSchemaObjectNode<::JsonUtil::EmptyClass, ::BlockDescription > > &description)
 
MCAPI bool _checkInvalidPermutationComponents (::BlockComponentGroupDescription const &componentGroupDescription)
 
MCAPI bool _loadBlockDescription (::Json::Value const &root, ::BlockDescription &desc, ::JsonBetaState &canUseBeta, ::IPackLoadContext const &packLoadContext, ::SemVersion const &jsonVersion)
 
MCAPI bool _loadComponents (::Json::Value const &root, ::BlockDefinition &definition, ::IPackLoadContext &packLoadContext, ::JsonBetaState canUseBeta)
 
MCAPI void _loadComponentsForLegacyCompabitility (::SemVersion const &originalJsonVersion, ::BlockDefinition &definition)
 
MCAPI bool _loadEvents (::Json::Value const &root, ::BlockDefinition &definition, ::IPackLoadContext &packLoadContext)
 
MCAPI bool _parseComponents (::Json::Value const &blockRoot, ::BlockComponentGroupDescription &componentGroupDescription, ::std::string const &blockIdentifier, ::SemVersion const &originalJsonVersion, ::IPackLoadContext &packLoadContext, ::JsonBetaState canUseBeta)
 
MCAPI::CreativeItemCategory _stringToCreativeItemCategory (::std::string const &str)
 
MCAPI bool _validateCrossComponentConstraints (::BlockComponentGroupDescription const &description, ::SemVersion const &mOriginalJsonVersion) const
 
MCAPI bool _validatePrereleaseRequirements (::LogArea logArea, ::std::string const &jsonType, ::std::string const &jsonIdentifier, ::std::optional<::SemVersion > const &releaseVersion, ::std::vector<::PackLoadRequirement > const &requirements, ::IPackLoadContext const &packLoadContext, ::JsonBetaState canUseBeta) const
 
MCAPI void buildBlockSchema ()
 
MCAPI ::std::unique_ptr<::BlockDefinitiongenerateBlockDefinition (::BlockDefinitionGroup::BlockResource const &resource, ::IPackLoadContext &packLoadContext)
 
MCAPI bool generateBlockResource (::Json::Value const &root, ::IPackLoadContext const &packLoadContext, ::SemVersion const &originalJsonVersion, ::BlockDefinitionGroup::BlockResource &out)
 
MCAPI ::std::vector<::std::pair<::std::string, ::CompoundTag > > generateServerBlockProperties () const
 
MCAPI ::std::vector<::BlockDefinition const * > getBlockDefinitions () const
 
MCAPI void initBlockFromDefinition (::Block &block, ::BlockPermutationDescription const &definition)
 
MCAPI void initBlockLegacyFromDefinition (::BlockLegacy &blockLegacy, ::BlockDefinition const &definition)
 
MCAPI void initializeBlockFromDefinition (::BlockDefinition const &definition, ::Level &level)
 
MCAPI ::std::unique_ptr<::BlockDefinitionloadResource (::std::string upgradedJsonData, ::Core::PathBuffer<::std::string > const &res, ::std::string const &resourcePacklocation, ::IPackLoadContext &packLoadContext)
 
MCAPI void loadResources (::ResourcePackManager const &resourcePackManager, ::Experiments const &experiments, ::LinkedAssetValidator &validator)
 
MCAPI void registerBlockFromDefinition (::BlockDefinition const &definition, bool assertIfAlreadyExists)
 
MCAPI ::WeakPtr<::BlockLegacyregisterDataDrivenBlock (::BlockDescription const &desc)
 
MCAPI ~BlockDefinitionGroup ()
 
MCAPI void * $ctor (::cereal::ReflectionCtx const &ctx)
 
MCAPI void $dtor ()
 

Public Attributes

::ll::UntypedStorage< 8, 64 > mUnk1b5f57
 
::ll::UntypedStorage< 8, 64 > mUnkcd9897
 
::ll::UntypedStorage< 8, 16 > mUnke67cd4
 
::ll::UntypedStorage< 8, 128 > mUnk255ed4
 
::ll::UntypedStorage< 4, 4 > mUnka63e94
 
::ll::UntypedStorage< 8, 24 > mUnkf2dec9
 
::ll::UntypedStorage< 8, 24 > mUnk67f28b
 

Constructor & Destructor Documentation

◆ BlockDefinitionGroup()

MCAPI BlockDefinitionGroup::BlockDefinitionGroup ( ::cereal::ReflectionCtx const & ctx)
explicit
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.

◆ ~BlockDefinitionGroup()

MCAPI BlockDefinitionGroup::~BlockDefinitionGroup ( )
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

◆ _applyBlockStates()

MCAPI void BlockDefinitionGroup::_applyBlockStates ( ::BlockLegacy * block,
::BlockDefinition const & definition )
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.

◆ _buildBlockDescriptionSchema()

MCAPI void BlockDefinitionGroup::_buildBlockDescriptionSchema ( ::std::shared_ptr<::JsonUtil::JsonSchemaObjectNode<::JsonUtil::EmptyClass, ::BlockDescription > > & description)
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.

◆ _buildBlockMenuCategorySchema()

MCAPI void BlockDefinitionGroup::_buildBlockMenuCategorySchema ( ::std::shared_ptr<::JsonUtil::JsonSchemaObjectNode<::JsonUtil::EmptyClass, ::BlockDescription > > & description)
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.

◆ _checkInvalidPermutationComponents()

MCAPI bool BlockDefinitionGroup::_checkInvalidPermutationComponents ( ::BlockComponentGroupDescription const & componentGroupDescription)
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.

◆ _loadBlockDescription()

MCAPI bool BlockDefinitionGroup::_loadBlockDescription ( ::Json::Value const & root,
::BlockDescription & desc,
::JsonBetaState & canUseBeta,
::IPackLoadContext const & packLoadContext,
::SemVersion const & jsonVersion )
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.

◆ _loadComponents()

MCAPI bool BlockDefinitionGroup::_loadComponents ( ::Json::Value const & root,
::BlockDefinition & definition,
::IPackLoadContext & packLoadContext,
::JsonBetaState canUseBeta )
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.

◆ _loadComponentsForLegacyCompabitility()

MCAPI void BlockDefinitionGroup::_loadComponentsForLegacyCompabitility ( ::SemVersion const & originalJsonVersion,
::BlockDefinition & definition )
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.

◆ _loadEvents()

MCAPI bool BlockDefinitionGroup::_loadEvents ( ::Json::Value const & root,
::BlockDefinition & definition,
::IPackLoadContext & packLoadContext )
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.

◆ _parseComponents()

MCAPI bool BlockDefinitionGroup::_parseComponents ( ::Json::Value const & blockRoot,
::BlockComponentGroupDescription & componentGroupDescription,
::std::string const & blockIdentifier,
::SemVersion const & originalJsonVersion,
::IPackLoadContext & packLoadContext,
::JsonBetaState canUseBeta )
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.

◆ _stringToCreativeItemCategory()

MCAPI::CreativeItemCategory BlockDefinitionGroup::_stringToCreativeItemCategory ( ::std::string const & str)
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.

◆ _validateCrossComponentConstraints()

MCAPI bool BlockDefinitionGroup::_validateCrossComponentConstraints ( ::BlockComponentGroupDescription const & description,
::SemVersion const & mOriginalJsonVersion ) 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.

◆ _validatePrereleaseRequirements()

MCAPI bool BlockDefinitionGroup::_validatePrereleaseRequirements ( ::LogArea logArea,
::std::string const & jsonType,
::std::string const & jsonIdentifier,
::std::optional<::SemVersion > const & releaseVersion,
::std::vector<::PackLoadRequirement > const & requirements,
::IPackLoadContext const & packLoadContext,
::JsonBetaState canUseBeta ) 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.

◆ buildBlockSchema()

MCAPI void BlockDefinitionGroup::buildBlockSchema ( )
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.

◆ generateBlockDefinition()

MCAPI ::std::unique_ptr<::BlockDefinition > BlockDefinitionGroup::generateBlockDefinition ( ::BlockDefinitionGroup::BlockResource const & resource,
::IPackLoadContext & packLoadContext )
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.

◆ generateBlockResource()

MCAPI bool BlockDefinitionGroup::generateBlockResource ( ::Json::Value const & root,
::IPackLoadContext const & packLoadContext,
::SemVersion const & originalJsonVersion,
::BlockDefinitionGroup::BlockResource & out )
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.

◆ generateServerBlockProperties()

MCAPI ::std::vector<::std::pair<::std::string, ::CompoundTag > > BlockDefinitionGroup::generateServerBlockProperties ( ) 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.

◆ getBlockDefinitions()

MCAPI ::std::vector<::BlockDefinition const * > BlockDefinitionGroup::getBlockDefinitions ( ) 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.

◆ initBlockFromDefinition()

MCAPI void BlockDefinitionGroup::initBlockFromDefinition ( ::Block & block,
::BlockPermutationDescription const & definition )
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.

◆ initBlockLegacyFromDefinition()

MCAPI void BlockDefinitionGroup::initBlockLegacyFromDefinition ( ::BlockLegacy & blockLegacy,
::BlockDefinition const & definition )
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.

◆ initializeBlockFromDefinition()

MCAPI void BlockDefinitionGroup::initializeBlockFromDefinition ( ::BlockDefinition const & definition,
::Level & level )
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.

◆ loadResource()

MCAPI ::std::unique_ptr<::BlockDefinition > BlockDefinitionGroup::loadResource ( ::std::string upgradedJsonData,
::Core::PathBuffer<::std::string > const & res,
::std::string const & resourcePacklocation,
::IPackLoadContext & packLoadContext )
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.

◆ loadResources()

MCAPI void BlockDefinitionGroup::loadResources ( ::ResourcePackManager const & resourcePackManager,
::Experiments const & experiments,
::LinkedAssetValidator & validator )
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.

◆ registerBlockFromDefinition()

MCAPI void BlockDefinitionGroup::registerBlockFromDefinition ( ::BlockDefinition const & definition,
bool assertIfAlreadyExists )
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.

◆ registerDataDrivenBlock()

MCAPI ::WeakPtr<::BlockLegacy > BlockDefinitionGroup::registerDataDrivenBlock ( ::BlockDescription const & desc)
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 * BlockDefinitionGroup::$ctor ( ::cereal::ReflectionCtx const & ctx)
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.

◆ $dtor()

MCAPI void BlockDefinitionGroup::$dtor ( )
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: