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

Public Member Functions

StructureTemplateData & operator= (StructureTemplateData const &)
 StructureTemplateData (StructureTemplateData const &)
MCAPI::StructureLoadResult _parseBlockIndices (::CompoundTag const &structureTag)
MCAPI::StructureLoadResult _parseEntities (::CompoundTag const &structureTag)
MCAPI::StructureLoadResult _parsePalettes (::CompoundTag const &structureTag)
MCAPI void _saveSize (::CompoundTag &tag) const
MCAPI bool _saveStructureTag (::CompoundTag &tag, ::StructureCompression compression) const
MCAPI void _saveStructureWorldOrigin (::CompoundTag &tag) const
MCAPI::StructureLoadResult _validateSizeAndBlockIndicesSize () const
MCAPI void clear ()
MCAPI::StructureBlockPalette const * getPalette (::std::string const &name) const
MCAPI bool load (::CompoundTag const &tag)
MCAPI::StructureTemplateData & operator= (::StructureTemplateData &&)
MCAPI bool operator== (::StructureTemplateData const &other) const
MCAPI ::std::unique_ptr<::CompoundTag > save (::StructureCompression compression) const
MCAPI void setBlockIndices (::std::vector< int > blockIndices)
MCAPI void $dtor ()

Static Public Member Functions

static MCAPI ::CompoundTag const * _parseStructureTag (::CompoundTag const &tag, ::StructureCompression compression, ::std::unique_ptr<::CompoundTag > &decompressedStructure)
static MCAPI bool _readBlockIndexArray (::Tag const &tag, int formatVersion, ::std::vector< int > &blockIndices)
static MCAPI ::std::string const & DEFAULT_PALETTE_NAME ()
static MCAPI int const & NO_BLOCK_INDEX_VALUE ()
static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 4, 4, int > mFormatVersion
::ll::TypedStorage< 4, 4, ::NeighborAwareBlockUpgradeVersionType > mNeighborAwareBlockUpgradeVersion
::ll::TypedStorage< 4, 12, ::BlockPos > mSize
::ll::TypedStorage< 4, 12, ::BlockPos > mStructureWorldOrigin
::ll::TypedStorage< 8, 24, ::std::vector< int > > mBlockIndices
::ll::TypedStorage< 8, 32, ::std::optional<::std::vector< int > > > mExtraBlockIndices
::ll::TypedStorage< 8, 64, ::std::unordered_map<::std::string, ::StructureBlockPalette > > mPalettes
::ll::TypedStorage< 8, 24, ::std::vector<::std::unique_ptr<::CompoundTag > > > mEntityData

Member Function Documentation

◆ _parseBlockIndices()

MCAPI::StructureLoadResult StructureTemplateData::_parseBlockIndices ( ::CompoundTag const & structureTag)
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.

◆ _parseEntities()

MCAPI::StructureLoadResult StructureTemplateData::_parseEntities ( ::CompoundTag const & structureTag)
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.

◆ _parsePalettes()

MCAPI::StructureLoadResult StructureTemplateData::_parsePalettes ( ::CompoundTag const & structureTag)
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.

◆ _saveSize()

MCAPI void StructureTemplateData::_saveSize ( ::CompoundTag & tag) 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.

◆ _saveStructureTag()

MCAPI bool StructureTemplateData::_saveStructureTag ( ::CompoundTag & tag,
::StructureCompression compression ) 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.

◆ _saveStructureWorldOrigin()

MCAPI void StructureTemplateData::_saveStructureWorldOrigin ( ::CompoundTag & tag) 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.

◆ _validateSizeAndBlockIndicesSize()

MCAPI::StructureLoadResult StructureTemplateData::_validateSizeAndBlockIndicesSize ( ) 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.

◆ clear()

MCAPI void StructureTemplateData::clear ( )
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.

◆ load()

MCAPI bool StructureTemplateData::load ( ::CompoundTag const & tag)
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.

◆ operator=()

MCAPI::StructureTemplateData & StructureTemplateData::operator= ( ::StructureTemplateData && )
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.

◆ operator==()

MCAPI bool StructureTemplateData::operator== ( ::StructureTemplateData const & other) 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.

◆ save()

MCAPI ::std::unique_ptr<::CompoundTag > StructureTemplateData::save ( ::StructureCompression compression) 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.

◆ setBlockIndices()

MCAPI void StructureTemplateData::setBlockIndices ( ::std::vector< int > blockIndices)
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.

◆ _parseStructureTag()

MCAPI ::CompoundTag const * StructureTemplateData::_parseStructureTag ( ::CompoundTag const & tag,
::StructureCompression compression,
::std::unique_ptr<::CompoundTag > & decompressedStructure )
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.

◆ _readBlockIndexArray()

MCAPI bool StructureTemplateData::_readBlockIndexArray ( ::Tag const & tag,
int formatVersion,
::std::vector< int > & blockIndices )
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.

◆ NO_BLOCK_INDEX_VALUE()

MCAPI int const & StructureTemplateData::NO_BLOCK_INDEX_VALUE ( )
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.

◆ $dtor()

MCAPI void StructureTemplateData::$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.

◆ $vftable()

MCAPI void ** StructureTemplateData::$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: