LeviLamina
Loading...
Searching...
No Matches
LegacyStructureSettings.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/util/Mirror.h"
7#include "mc/util/Rotation.h"
8#include "mc/world/level/BlockPos.h"
9#include "mc/world/level/ChunkPos.h"
10#include "mc/world/level/levelgen/structure/BoundingBox.h"
11#include "mc/world/level/levelgen/structure/Projection.h"
12
13// auto generated forward declare list
14// clang-format off
15class Block;
16class BlockPalette;
17class HashedString;
20// clang-format on
21
23public:
24 // LegacyStructureSettings inner types declare
25 // clang-format off
26 struct IndexedName;
27 // clang-format on
28
29 // LegacyStructureSettings inner types define
30 struct IndexedName {
31 public:
32 // member variables
33 // NOLINTBEGIN
34 ::ll::TypedStorage<8, 8, uint64> mGroupIndex;
35 ::ll::TypedStorage<8, 8, uint64> mBlockIndex;
36 // NOLINTEND
37 };
38
39public:
40 // member variables
41 // NOLINTBEGIN
42 ::ll::TypedStorage<4, 4, float> mIntegrity;
43 ::ll::TypedStorage<4, 4, uint> mSeed;
44 ::ll::TypedStorage<1, 1, ::Projection> mProjection;
45 ::ll::TypedStorage<1, 1, ::Mirror> mMirror;
46 ::ll::TypedStorage<1, 1, ::Rotation> mRotation;
47 ::ll::TypedStorage<1, 1, bool> mIgnoreStructureBlocks;
48 ::ll::TypedStorage<1, 1, bool> mIgnoreJigsawBlocks;
49 ::ll::TypedStorage<1, 1, bool> mWaterBelowSeaLevel;
50 ::ll::TypedStorage<8, 8, ::Block const*> mIgnoreBlock;
51 ::ll::TypedStorage<8, 8, ::ChunkPos> mChunkPos;
52 ::ll::TypedStorage<4, 12, ::BlockPos> mRefPos;
53 ::ll::TypedStorage<4, 24, ::BoundingBox> mBoundingBox;
54 ::ll::TypedStorage<8, 64, ::std::unordered_map<uchar, uchar>> mSwapAuxValues;
55 ::ll::TypedStorage<8, 8, ::std::vector<::std::unique_ptr<::StructurePoolBlockRule>> const*> mBlockRules;
56 ::ll::TypedStorage<8, 8, ::std::vector<::std::unique_ptr<::StructurePoolBlockTagRule>> const*> mBlockTagRules;
57 ::ll::TypedStorage<8, 24, ::std::vector<::std::vector<::std::reference_wrapper<::HashedString const>>>>
58 mGroupedBlockIds;
59 ::ll::TypedStorage<8, 16, ::std::map<::HashedString, ::LegacyStructureSettings::IndexedName>> mIndexedNames;
60 // NOLINTEND
61
62public:
63 // prevent constructor by default
65
66public:
67 // member functions
68 // NOLINTBEGIN
70
72 ::Mirror mirror,
73 ::Rotation rotation,
74 ::Block const* ignoreBlock,
75 ::BoundingBox const& boundingBox
76 );
77
78 MCAPI ::Block const& getSwappedBlock(::BlockPalette const& palette, ::Block const& oldBlock) const;
79
80 MCAPI ::LegacyStructureSettings& operator=(::LegacyStructureSettings const&);
81
82 MCAPI void updateBoundingBoxFromChunkPos();
83
85 // NOLINTEND
86
87public:
88 // static variables
89 // NOLINTBEGIN
90 MCAPI static float const& INTEGRITY_MAX();
91 // NOLINTEND
92
93public:
94 // constructor thunks
95 // NOLINTBEGIN
96 MCAPI void* $ctor(::LegacyStructureSettings const&);
97
98 MCAPI void*
99 $ctor(::Mirror mirror, ::Rotation rotation, ::Block const* ignoreBlock, ::BoundingBox const& boundingBox);
100 // NOLINTEND
101
102public:
103 // destructor thunk
104 // NOLINTBEGIN
105 MCAPI void $dtor();
106 // NOLINTEND
107};
Definition BlockPalette.h:19
Definition Block.h:37
Definition BoundingBox.h:13
Definition HashedString.h:5
Definition LegacyStructureSettings.h:22
Definition StructurePoolBlockRule.h:13
Definition StructurePoolBlockTagRule.h:10
Definition LegacyStructureSettings.h:30