3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/world/level/BlockPos.h"
7#include "mc/world/level/levelgen/structure/ILegacyStructureTemplate.h"
8#include "mc/world/level/levelgen/structure/IStructureTemplate.h"
9#include "mc/world/level/levelgen/structure/LegacyStructureBlockPalette.h"
21namespace br::worldgen {
struct StructureTemplateBlockPalette; }
28 ::ll::TypedStorage<8, 32, ::std::string> mAuthor;
29 ::ll::TypedStorage<4, 12, ::BlockPos> mSize;
30 ::ll::TypedStorage<8, 64, ::LegacyStructureBlockPalette> mPalette;
31 ::ll::TypedStorage<8, 64, ::LegacyStructureBlockPalette> mExtraBlockPalette;
32 ::ll::TypedStorage<8, 24, ::std::vector<::LegacyStructureBlockInfo>> mBlockInfo;
33 ::ll::TypedStorage<8, 24, ::std::vector<::LegacyStructureActorInfo>> mEntityInfo;
43 virtual ::std::unordered_map<::BlockPos, ::std::string>
47 virtual void placeInWorld(
55 virtual ::BlockPos rawSize()
const ;
58 virtual ::br::worldgen::StructureTemplateBlockPalette randomPalette(
::BlockPos)
const ;
87 ::std::string
const& propertyString,
88 ::std::string
const& valueString
91 MCNAPI static ::std::unique_ptr<::CompoundTag>
_mapTag(
92 ::std::unique_ptr<::CompoundTag> originalTag,
93 ::std::string
const& javaBlockName,
98 MCNAPI static ::Block
const*
_mapToBlock(::std::string
const& blockName);
102 MCNAPI static ::Block
const*
153 MCNAPI ::std::unordered_map<::BlockPos, ::std::string>
Definition BlockSource.h:67
Definition CompoundTag.h:13
Definition ILegacyStructureTemplate.h:13
Definition IStructureTemplate.h:11
Definition JigsawStructureBlockInfo.h:14
Definition LegacyStructureActorInfo.h:10
Definition LegacyStructureBlockInfo.h:14
Definition LegacyStructureSettings.h:22
Definition LegacyStructureTemplate.h:24
MCAPI ::std::unordered_map<::BlockPos, ::std::string > $getMarkers(::BlockPos const &position, ::LegacyStructureSettings &settings) const
static MCAPI ::std::string const & ENTITY_TAG_POS()
static MCAPI ::std::string const & ENTITY_TAG_BLOCKPOS()
static MCAPI void _mapPropertyToTag(::CompoundTag &originalTag, ::std::string const &propertyString, ::std::string const &valueString)
static MCAPI ::std::string const & BLOCK_TAG_STATE()
static MCAPI void ** $vftableForIStructureTemplate()
static MCAPI ::std::string const & MINECRAFT_PREFIX()
static MCAPI ::std::string const & BLOCKS_TAG()
static MCAPI void ** $vftableForILegacyStructureTemplate()
static MCAPI ::std::string const & BLOCK_TAG_NBT()
MCAPI::BlockPos calculateConnectedPosition(::LegacyStructureSettings const &settings1, ::BlockPos const &connection1, ::LegacyStructureSettings const &settings2, ::BlockPos const &connection2) const
static MCAPI void _mapPropertiesToTags(::CompoundTag &originalTag, ::CompoundTag const &paletteTag)
MCAPI::BlockPos $rawSize() const
static MCAPI ::std::string const & ENTITIES_TAG()
MCAPI::br::worldgen::StructureTemplateBlockPalette $randomPalette(::BlockPos) const
static MCAPI ::std::string const & AUTHOR_TAG()
static MCAPI ::std::string const & BLOCK_TAG_POS()
static MCAPI ::std::unique_ptr<::CompoundTag > _mapTag(::std::unique_ptr<::CompoundTag > originalTag, ::std::string const &javaBlockName, int dataVersion, ::Block const *&block)
static MCAPI ::std::string const & DATA_VERSION_TAG()
static MCAPI ::std::string const & SIZE_TAG()
MCAPI void load(::CompoundTag const &tag)
static MCAPI ::std::string const & ENTITY_TAG_NBT()
MCAPI ::std::vector<::JigsawStructureBlockInfo > getJigsawMarkers() const
static MCAPI ::std::string const & VERSION_TAG()
static MCAPI ::Block const & _mapToData(::Block const &curr, ::LegacyStructureSettings const &settings)
MCAPI void $placeInWorld(::BlockSource ®ion, ::BlockPos const &pos, ::LegacyStructureSettings &settings, ::Random &random) const
static MCAPI ::Block const * _mapToProperty(::std::string const &propertyString, ::std::string const &valueString, ::Block const &block)
static MCAPI ::Block const * _mapToBlock(::std::string const &blockName)
MCAPI LegacyStructureTemplate()
static MCAPI void _fixItemStack(::CompoundTag &itemTag, int dataVersion)
static MCAPI ::std::string const & PALETTE_TAG()