22class LegacyStructureSettings {
34 ::ll::TypedStorage<8, 8, uint64> mGroupIndex;
35 ::ll::TypedStorage<8, 8, uint64> mBlockIndex;
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>>>>
59 ::ll::TypedStorage<8, 16, ::std::map<::HashedString, ::LegacyStructureSettings::IndexedName>> mIndexedNames;
64 LegacyStructureSettings(LegacyStructureSettings
const&);
69 MCAPI LegacyStructureSettings();
71 MCAPI LegacyStructureSettings(
78 MCAPI
void addSwapAuxValue(
int oldvariation,
int variation);
80 MCAPI ::BoundingBox
const& getBoundingBox();
82 MCFOLD ::Mirror
const& getMirror()
const;
84 MCFOLD ::BlockPos
const& getRefPos()
const;
86 MCFOLD ::Rotation
const& getRotation()
const;
90 MCAPI ::LegacyStructureSettings& operator=(::LegacyStructureSettings
const& rhs);
92 MCFOLD
void placeWaterBelowSeaLevel(
bool water);
94 MCFOLD
void setBlockRules(::std::vector<::std::unique_ptr<::StructurePoolBlockRule>>
const* blockRules);
96 MCAPI
void setBlockTagRules(::std::vector<::std::unique_ptr<::StructurePoolBlockTagRule>>
const* blockTagRules);
100 MCFOLD
void setIgnoreBlock(
::Block const* ignoreBlock);
102 MCAPI
void setIntegrity(
float integrity);
104 MCFOLD
void setMirror(::Mirror mirror);
106 MCFOLD
void setProjection(::Projection projection);
108 MCAPI
void setRefPos(
::BlockPos const& refPos);
110 MCAPI
void setRotation(::Rotation rotation);
112 MCFOLD
void setSeed(uint seed);
114 MCAPI ~LegacyStructureSettings();
120 MCAPI
static float const& INTEGRITY_MAX();
129 $ctor(::Mirror mirror, ::Rotation rotation,
::Block const* ignoreBlock,
::BoundingBox const& boundingBox);