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
36 // NOLINTEND
37
38 public:
39 // prevent constructor by default
40 IndexedName& operator=(IndexedName const&);
43 };
44
45public:
46 // member variables
47 // NOLINTBEGIN
48 ::ll::TypedStorage<4, 4, float> mIntegrity;
49 ::ll::TypedStorage<4, 4, uint> mSeed;
50 ::ll::TypedStorage<1, 1, ::Projection> mProjection;
51 ::ll::TypedStorage<1, 1, ::Mirror> mMirror;
52 ::ll::TypedStorage<1, 1, ::Rotation> mRotation;
53 ::ll::TypedStorage<1, 1, bool> mIgnoreStructureBlocks;
54 ::ll::TypedStorage<1, 1, bool> mIgnoreJigsawBlocks;
55 ::ll::TypedStorage<1, 1, bool> mWaterBelowSeaLevel;
56 ::ll::TypedStorage<8, 8, ::Block const*> mIgnoreBlock;
57 ::ll::TypedStorage<8, 8, ::ChunkPos> mChunkPos;
58 ::ll::TypedStorage<4, 12, ::BlockPos> mRefPos;
59 ::ll::TypedStorage<4, 24, ::BoundingBox> mBoundingBox;
60 ::ll::TypedStorage<8, 64, ::std::unordered_map<uchar, uchar>> mSwapAuxValues;
61 ::ll::TypedStorage<8, 8, ::std::vector<::std::unique_ptr<::StructurePoolBlockRule>> const*> mBlockRules;
62 ::ll::TypedStorage<8, 8, ::std::vector<::std::unique_ptr<::StructurePoolBlockTagRule>> const*> mBlockTagRules;
63 ::ll::TypedStorage<8, 24, ::std::vector<::std::vector<::std::reference_wrapper<::HashedString const>>>>
64 mGroupedBlockIds;
65 ::ll::TypedStorage<8, 16, ::std::map<::HashedString, ::LegacyStructureSettings::IndexedName>> mIndexedNames;
66 // NOLINTEND
67
68public:
69 // prevent constructor by default
71
72public:
73 // member functions
74 // NOLINTBEGIN
76
78 ::Mirror mirror,
79 ::Rotation rotation,
80 ::Block const* ignoreBlock,
81 ::BoundingBox const& boundingBox
82 );
83
84 MCNAPI ::Block const& getSwappedBlock(::BlockPalette const& palette, ::Block const& oldBlock) const;
85
86 MCNAPI ::LegacyStructureSettings& operator=(::LegacyStructureSettings const&);
87
89
91 // NOLINTEND
92
93public:
94 // static variables
95 // NOLINTBEGIN
96 MCNAPI static float const& INTEGRITY_MAX();
97 // NOLINTEND
98
99public:
100 // constructor thunks
101 // NOLINTBEGIN
102 MCNAPI void* $ctor(::LegacyStructureSettings const&);
103
104 MCNAPI void*
105 $ctor(::Mirror mirror, ::Rotation rotation, ::Block const* ignoreBlock, ::BoundingBox const& boundingBox);
106 // NOLINTEND
107
108public:
109 // destructor thunk
110 // NOLINTBEGIN
111 MCNAPI void $dtor();
112 // NOLINTEND
113};
Definition BlockPalette.h:18
Definition Block.h:38
Definition BoundingBox.h:13
Definition HashedString.h:5
Definition LegacyStructureSettings.h:22
static MCAPI float const & INTEGRITY_MAX()
MCAPI LegacyStructureSettings(::Mirror mirror, ::Rotation rotation, ::Block const *ignoreBlock, ::BoundingBox const &boundingBox)
MCAPI::Block const & getSwappedBlock(::BlockPalette const &palette, ::Block const &oldBlock) const
MCAPI::LegacyStructureSettings & operator=(::LegacyStructureSettings const &)
MCAPI void * $ctor(::Mirror mirror, ::Rotation rotation, ::Block const *ignoreBlock, ::BoundingBox const &boundingBox)
MCAPI void * $ctor(::LegacyStructureSettings const &)
MCAPI void updateBoundingBoxFromChunkPos()
MCAPI LegacyStructureSettings(::LegacyStructureSettings const &)
Definition StructurePoolBlockRule.h:13
Definition StructurePoolBlockTagRule.h:12
Definition LegacyStructureSettings.h:30
Definition Alias.h:14