LeviLamina
Loading...
Searching...
No Matches
StructureSettings.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/math/Vec3.h"
7#include "mc/legacy/ActorUniqueID.h"
8#include "mc/util/AnimationMode.h"
9#include "mc/util/Mirror.h"
10#include "mc/util/Rotation.h"
11#include "mc/world/level/BlockPos.h"
12
13// auto generated forward declare list
14// clang-format off
15class BoundingBox;
16// clang-format on
17
18class StructureSettings {
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<8, 32, ::std::string> mPaletteName;
23 ::ll::TypedStorage<1, 1, bool> mIgnoreEntities;
24 ::ll::TypedStorage<1, 1, bool> mReloadActorEquipment;
25 ::ll::TypedStorage<1, 1, bool> mIgnoreBlocks;
26 ::ll::TypedStorage<1, 1, bool> mIsWaterLogged;
27 ::ll::TypedStorage<1, 1, bool> mIgnoreJigsawBlocks;
28 ::ll::TypedStorage<1, 1, bool> mAllowNonTickingPlayerAndTickingAreaChunks;
29 ::ll::TypedStorage<8, 8, ::ActorUniqueID> mLastTouchedByPlayer;
30 ::ll::TypedStorage<4, 12, ::BlockPos> mStructureSize;
31 ::ll::TypedStorage<4, 12, ::BlockPos> mStructureOffset;
32 ::ll::TypedStorage<4, 12, ::Vec3> mPivot;
33 ::ll::TypedStorage<1, 1, ::Mirror> mMirror;
34 ::ll::TypedStorage<1, 1, ::Rotation> mRotation;
35 ::ll::TypedStorage<1, 1, ::AnimationMode> mAnimationMode;
36 ::ll::TypedStorage<4, 4, float> mAnimationSeconds;
37 ::ll::TypedStorage<4, 4, float> mIntegrityValue;
38 ::ll::TypedStorage<4, 4, uint> mIntegritySeed;
39 // NOLINTEND
40
41public:
42 // member functions
43 // NOLINTBEGIN
44 MCAPI StructureSettings();
45
46 MCFOLD ::AnimationMode getAnimationMode() const;
47
48 MCFOLD float getAnimationSeconds() const;
49
50 MCAPI uint getAnimationTicks() const;
51
52 MCFOLD bool getIgnoreBlocks() const;
53
54 MCFOLD bool getIgnoreEntities() const;
55
56 MCFOLD bool getIgnoreJigsawBlocks() const;
57
58 MCFOLD uint getIntegritySeed() const;
59
60 MCAPI float getIntegrityValue() const;
61
62 MCFOLD bool getIsWaterLogged() const;
63
64 MCFOLD ::ActorUniqueID getLastTouchedByPlayerID() const;
65
66 MCFOLD ::Mirror getMirror() const;
67
68 MCFOLD ::std::string const& getPaletteName() const;
69
70 MCFOLD ::Vec3 const& getPivot() const;
71
72 MCFOLD ::Rotation getRotation() const;
73
74 MCFOLD ::BlockPos const& getStructureOffset() const;
75
76 MCFOLD ::BlockPos const& getStructureSize() const;
77
78 MCAPI ::BoundingBox getTransformedBoundBox() const;
79
80 MCAPI ::BlockPos getTransformedBoundPosition(::BlockPos const& originalPos) const;
81
82 MCAPI bool isAnimated() const;
83
84 MCAPI bool operator==(::StructureSettings const& rhs) const;
85
86 MCFOLD void setAllowNonTickingPlayerAndTickingAreaChunks(bool allowNonTickingPlayerAndTickingAreaChunks);
87
88 MCFOLD void setAnimationMode(::AnimationMode animationMode);
89
90 MCAPI void setAnimationSeconds(float seconds);
91
92 MCAPI void setAnimationTicks(uint ticks);
93
94 MCAPI void setIgnoreBlocks(bool ignoreBlocks);
95
96 MCFOLD void setIgnoreEntities(bool ignoreEntities);
97
98 MCFOLD void setIgnoreJigsawBlocks(bool ignoreJigsawBlocks);
99
100 MCFOLD void setIntegritySeed(uint integritySeed);
101
102 MCAPI void setIntegrityValue(float integrityValue);
103
104 MCAPI void setIsWaterLogged(bool waterLogged);
105
106 MCFOLD void setLastTouchedByPlayerID(::ActorUniqueID lastTouchedByPlayerID);
107
108 MCAPI void setMirror(::Mirror mirror);
109
110 MCFOLD void setPaletteName(::std::string paletteName);
111
112 MCAPI void setPivot(::Vec3 const& pivot);
113
114 MCAPI void setPivotFromBoundedUnitVector(::Vec3 const& boundedUnitVector);
115
116 MCAPI void setPivotFromStructureSize();
117
118 MCAPI void setReloadActorEquipment(bool reloadActorEquipment);
119
120 MCAPI void setRotation(::Rotation rotation);
121
122 MCAPI void setStructureOffset(::BlockPos const& offset);
123
124 MCFOLD void setStructureSize(::BlockPos const& size);
125
126 MCFOLD bool shouldAllowNonTickingPlayerAndTickingAreaChunks() const;
127
128 MCAPI ~StructureSettings();
129 // NOLINTEND
130
131public:
132 // constructor thunks
133 // NOLINTBEGIN
134 MCAPI void* $ctor();
135 // NOLINTEND
136
137public:
138 // destructor thunk
139 // NOLINTBEGIN
140 MCFOLD void $dtor();
141 // NOLINTEND
142};
Definition BlockPos.h:21
Definition BoundingBox.h:13
Definition Vec3.h:10
Definition ActorUniqueID.h:10