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

Public Member Functions

virtual ::std::unordered_map<::BlockPos, ::std::string > getMarkers (::BlockPos const &position, ::LegacyStructureSettings &settings) const
virtual void placeInWorld (::BlockSource &region, ::BlockPos const &pos, ::LegacyStructureSettings &settings, ::Random &random) const
virtual::NeighborAwareBlockUpdateType shouldHandleUpgradeForBlock (::Block const &block) const
virtual::BlockPos rawSize () const
virtual::br::worldgen::StructureTemplateBlockPalette randomPalette (::BlockPos) const
MCAPI LegacyStructureTemplate ()
MCAPI::BlockPos calculateConnectedPosition (::LegacyStructureSettings const &settings1, ::BlockPos const &connection1, ::LegacyStructureSettings const &settings2, ::BlockPos const &connection2) const
MCAPI void finalizeBlockRules (::BlockSource &region, ::BlockPos const &position, ::LegacyStructureSettings &settings, ::Random &) const
MCAPI ::std::unordered_map<::BlockPos, ::StructureSpawnEntityInfo > getEntitiesToPlace (::BlockPos const &position, ::LegacyStructureSettings &settings) const
MCAPI ::std::vector<::JigsawStructureBlockInfo > getJigsawMarkers () const
MCAPI void * $ctor ()
MCAPI void $dtor ()
MCAPI ::std::unordered_map<::BlockPos, ::std::string > $getMarkers (::BlockPos const &position, ::LegacyStructureSettings &settings) const
MCAPI void $placeInWorld (::BlockSource &region, ::BlockPos const &pos, ::LegacyStructureSettings &settings, ::Random &random) const
MCAPI::NeighborAwareBlockUpdateType $shouldHandleUpgradeForBlock (::Block const &block) const
MCAPI::BlockPos $rawSize () const
MCAPI::br::worldgen::StructureTemplateBlockPalette $randomPalette (::BlockPos) const

Static Public Member Functions

static MCAPI void _fixItemStack (::CompoundTag &itemTag, int const dataVersion)
static MCAPI ::Block const * _mapToBlock (::std::string const &blockName)
static MCAPI ::Block const & _mapToData (::Block const &curr, ::LegacyStructureSettings const &settings)
static MCAPI ::Block const * _mapToProperty (::std::string const &propertyString, ::std::string const &valueString, ::Block const &block)
static MCAPI ::std::string const & AUTHOR_TAG ()
static MCAPI ::std::string const & BLOCKS_TAG ()
static MCAPI ::std::string const & BLOCK_TAG_NBT ()
static MCAPI ::std::string const & BLOCK_TAG_POS ()
static MCAPI ::std::string const & BLOCK_TAG_STATE ()
static MCAPI ::std::string const & DATA_VERSION_TAG ()
static MCAPI ::std::string const & ENTITIES_TAG ()
static MCAPI ::std::string const & ENTITY_TAG_BLOCKPOS ()
static MCAPI ::std::string const & ENTITY_TAG_NBT ()
static MCAPI ::std::string const & ENTITY_TAG_POS ()
static MCAPI ::std::string const & MINECRAFT_PREFIX ()
static MCAPI ::std::string const & PALETTE_TAG ()
static MCAPI ::std::string const & SIZE_TAG ()
static MCAPI void ** $vftableForILegacyStructureTemplate ()
static MCAPI void ** $vftableForIStructureTemplate ()

Public Attributes

::ll::TypedStorage< 8, 32, ::std::string > mAuthor
::ll::TypedStorage< 4, 12, ::BlockPos > mSize
::ll::TypedStorage< 4, 4, int > mDataVersion
::ll::TypedStorage< 8, 64, ::LegacyStructureBlockPalette > mPalette
::ll::TypedStorage< 8, 64, ::LegacyStructureBlockPalette > mExtraBlockPalette
::ll::TypedStorage< 8, 24, ::std::vector<::LegacyStructureBlockInfo > > mBlockInfo
::ll::TypedStorage< 8, 24, ::std::vector<::LegacyStructureActorInfo > > mEntityInfo

Constructor & Destructor Documentation

◆ LegacyStructureTemplate()

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

◆ getMarkers()

virtual ::std::unordered_map<::BlockPos, ::std::string > LegacyStructureTemplate::getMarkers ( ::BlockPos const & position,
::LegacyStructureSettings & settings ) const
virtual

◆ placeInWorld()

virtual void LegacyStructureTemplate::placeInWorld ( ::BlockSource & region,
::BlockPos const & pos,
::LegacyStructureSettings & settings,
::Random & random ) const
virtual

◆ shouldHandleUpgradeForBlock()

virtual::NeighborAwareBlockUpdateType LegacyStructureTemplate::shouldHandleUpgradeForBlock ( ::Block const & block) const
virtual

Implements IStructureTemplate.

◆ rawSize()

virtual::BlockPos LegacyStructureTemplate::rawSize ( ) const
virtual

Implements IStructureTemplate.

◆ randomPalette()

virtual::br::worldgen::StructureTemplateBlockPalette LegacyStructureTemplate::randomPalette ( ::BlockPos ) const
virtual

Implements IStructureTemplate.

◆ calculateConnectedPosition()

MCAPI::BlockPos LegacyStructureTemplate::calculateConnectedPosition ( ::LegacyStructureSettings const & settings1,
::BlockPos const & connection1,
::LegacyStructureSettings const & settings2,
::BlockPos const & connection2 ) 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.

◆ finalizeBlockRules()

MCAPI void LegacyStructureTemplate::finalizeBlockRules ( ::BlockSource & region,
::BlockPos const & position,
::LegacyStructureSettings & settings,
::Random &  ) 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.

◆ getEntitiesToPlace()

MCAPI ::std::unordered_map<::BlockPos, ::StructureSpawnEntityInfo > LegacyStructureTemplate::getEntitiesToPlace ( ::BlockPos const & position,
::LegacyStructureSettings & settings ) 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.

◆ getJigsawMarkers()

MCAPI ::std::vector<::JigsawStructureBlockInfo > LegacyStructureTemplate::getJigsawMarkers ( ) 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.

◆ _fixItemStack()

MCAPI void LegacyStructureTemplate::_fixItemStack ( ::CompoundTag & itemTag,
int const dataVersion )
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.

◆ _mapToBlock()

MCAPI ::Block const * LegacyStructureTemplate::_mapToBlock ( ::std::string const & blockName)
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.

◆ _mapToData()

MCAPI ::Block const & LegacyStructureTemplate::_mapToData ( ::Block const & curr,
::LegacyStructureSettings const & settings )
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.

◆ _mapToProperty()

MCAPI ::Block const * LegacyStructureTemplate::_mapToProperty ( ::std::string const & propertyString,
::std::string const & valueString,
::Block const & block )
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.

◆ AUTHOR_TAG()

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

◆ BLOCKS_TAG()

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

◆ BLOCK_TAG_NBT()

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

◆ BLOCK_TAG_POS()

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

◆ BLOCK_TAG_STATE()

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

◆ DATA_VERSION_TAG()

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

◆ ENTITIES_TAG()

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

◆ ENTITY_TAG_BLOCKPOS()

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

◆ ENTITY_TAG_NBT()

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

◆ ENTITY_TAG_POS()

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

◆ MINECRAFT_PREFIX()

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

◆ PALETTE_TAG()

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

◆ SIZE_TAG()

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

◆ $ctor()

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

◆ $dtor()

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

◆ $getMarkers()

MCAPI ::std::unordered_map<::BlockPos, ::std::string > LegacyStructureTemplate::$getMarkers ( ::BlockPos const & position,
::LegacyStructureSettings & settings ) 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.

◆ $placeInWorld()

MCAPI void LegacyStructureTemplate::$placeInWorld ( ::BlockSource & region,
::BlockPos const & pos,
::LegacyStructureSettings & settings,
::Random & random ) 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.

◆ $shouldHandleUpgradeForBlock()

MCAPI::NeighborAwareBlockUpdateType LegacyStructureTemplate::$shouldHandleUpgradeForBlock ( ::Block const & block) 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.

◆ $rawSize()

MCAPI::BlockPos LegacyStructureTemplate::$rawSize ( ) 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.

◆ $randomPalette()

MCAPI::br::worldgen::StructureTemplateBlockPalette LegacyStructureTemplate::$randomPalette ( ::BlockPos ) 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.

◆ $vftableForILegacyStructureTemplate()

MCAPI void ** LegacyStructureTemplate::$vftableForILegacyStructureTemplate ( )
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.

◆ $vftableForIStructureTemplate()

MCAPI void ** LegacyStructureTemplate::$vftableForIStructureTemplate ( )
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: