LeviLamina
Loading...
Searching...
No Matches
StructureTemplateData.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/BlockPos.h"
7#include "mc/world/level/levelgen/structure/StructureLoadResult.h"
8
9// auto generated forward declare list
10// clang-format off
11class CompoundTag;
13// clang-format on
14
16public:
17 // member variables
18 // NOLINTBEGIN
19 ::ll::TypedStorage<4, 4, int> mFormatVersion;
20 ::ll::TypedStorage<4, 12, ::BlockPos> mSize;
21 ::ll::TypedStorage<4, 12, ::BlockPos> mStructureWorldOrigin;
22 ::ll::TypedStorage<8, 24, ::std::vector<int>> mBlockIndices;
23 ::ll::TypedStorage<8, 24, ::std::vector<int>> mExtraBlockIndices;
24 ::ll::TypedStorage<8, 64, ::std::unordered_map<::std::string, ::StructureBlockPalette>> mPalettes;
25 ::ll::TypedStorage<8, 24, ::std::vector<::std::unique_ptr<::CompoundTag>>> mEntityData;
26 // NOLINTEND
27
28public:
29 // virtual functions
30 // NOLINTBEGIN
31 // vIndex: 0
32 virtual ~StructureTemplateData();
33 // NOLINTEND
34
35public:
36 // member functions
37 // NOLINTBEGIN
39
40 MCAPI ::StructureLoadResult _parseBlockIndices(::CompoundTag const& structureTag);
41
42 MCAPI ::StructureLoadResult _parseEntities(::CompoundTag const& structureTag);
43
44 MCAPI ::StructureLoadResult _parsePalettes(::CompoundTag const& structureTag);
45
46 MCAPI ::StructureLoadResult _parseSize(::CompoundTag const& tag);
47
48 MCAPI ::StructureLoadResult _parseStructureWorldOrigin(::CompoundTag const& tag);
49
50 MCAPI void _saveBlockIndices(::CompoundTag& structureTag) const;
51
52 MCAPI void _saveEntities(::CompoundTag& structureTag) const;
53
54 MCAPI void _savePalettes(::CompoundTag& structureTag) const;
55
56 MCAPI ::StructureBlockPalette const* getPalette(::std::string const& name) const;
57
58 MCAPI bool load(::CompoundTag const& tag);
59
60 MCAPI ::std::unique_ptr<::CompoundTag> save() const;
61
62 MCAPI void setBlockIndices(::std::vector<int> blockIndices);
63
64 MCAPI void setExtraBlockIndices(::std::vector<int> extraBlockIndices);
65 // NOLINTEND
66
67public:
68 // static variables
69 // NOLINTBEGIN
70 MCAPI static ::std::string const& DEFAULT_PALETTE_NAME();
71 // NOLINTEND
72
73public:
74 // constructor thunks
75 // NOLINTBEGIN
76 MCAPI void* $ctor();
77 // NOLINTEND
78
79public:
80 // destructor thunk
81 // NOLINTBEGIN
82 MCAPI void $dtor();
83 // NOLINTEND
84
85public:
86 // vftables
87 // NOLINTBEGIN
88 MCNAPI static void** $vftable();
89 // NOLINTEND
90};
Definition CompoundTag.h:13
Definition StructureBlockPalette.h:17
Definition StructureTemplateData.h:15
static MCAPI void ** $vftable()