LeviLamina
Loading...
Searching...
No Matches
PillagerOutpostPieces.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/NonOwnerPointer.h"
7#include "mc/util/Rotation.h"
8#include "mc/world/level/levelgen/structure/TemplateStructurePiece.h"
9
10// auto generated forward declare list
11// clang-format off
12class BlockPos;
13class BlockSource;
14class BoundingBox;
15class Dimension;
16class LevelChunk;
17class Random;
19class StructurePiece;
21// clang-format on
22
24public:
25 // PillagerOutpostPieces inner types declare
26 // clang-format off
28 // clang-format on
29
30 // PillagerOutpostPieces inner types define
32 public:
33 // member variables
34 // NOLINTBEGIN
47 // NOLINTEND
48
49 public:
50 // prevent constructor by default
54
55 public:
56 // virtual functions
57 // NOLINTBEGIN
58 // vIndex: 4
59 virtual bool postProcess(::BlockSource& region, ::Random& random, ::BoundingBox const& chunkBB) /*override*/;
60
61 // vIndex: 5
62 virtual void
63 postProcessMobsAt(::BlockSource& region, ::Random& random, ::BoundingBox const& chunkBB) /*override*/;
64
65 // vIndex: 12
66 virtual void addHardcodedSpawnAreas(::LevelChunk& chunk) const /*override*/;
67
68 // vIndex: 13
69 virtual void _handleDataMarker(
70 ::std::string const& markerId,
71 ::BlockPos const& position,
72 ::BlockSource& region,
73 ::Random& random,
74 ::BoundingBox const& chunkBB
75 ) /*override*/;
76
77 // vIndex: 0
78 virtual ~PillagerOutpostPiece() /*override*/;
79 // NOLINTEND
80
81 public:
82 // member functions
83 // NOLINTBEGIN
85 ::Bedrock::NotNullNonOwnerPtr<::StructureManager> structureManager,
86 ::std::string templateName,
87 ::BlockPos const& origin,
88 ::Rotation rotation,
89 float integrity,
90 bool isSatellite,
91 ::Dimension& dimension
92 );
93
94 MCAPI void _addMobsFromPositions(
95 ::BoundingBox const& chunkBB,
96 ::ActorDefinitionIdentifier const& definition,
97 ::BlockSource& region,
98 ::std::vector<::BlockPos> const& entityPositions
99 );
100
101 MCAPI void _loadTemplate();
102 // NOLINTEND
103
104 public:
105 // constructor thunks
106 // NOLINTBEGIN
107 MCAPI void* $ctor(
108 ::Bedrock::NotNullNonOwnerPtr<::StructureManager> structureManager,
109 ::std::string templateName,
110 ::BlockPos const& origin,
111 ::Rotation rotation,
112 float integrity,
113 bool isSatellite,
114 ::Dimension& dimension
115 );
116 // NOLINTEND
117
118 public:
119 // destructor thunk
120 // NOLINTBEGIN
121 MCAPI void $dtor();
122 // NOLINTEND
123
124 public:
125 // virtual function thunks
126 // NOLINTBEGIN
127 MCAPI bool $postProcess(::BlockSource& region, ::Random& random, ::BoundingBox const& chunkBB);
128
129 MCAPI void $postProcessMobsAt(::BlockSource& region, ::Random& random, ::BoundingBox const& chunkBB);
130
131 MCAPI void $addHardcodedSpawnAreas(::LevelChunk& chunk) const;
132
133 MCAPI void $_handleDataMarker(
134 ::std::string const& markerId,
135 ::BlockPos const& position,
136 ::BlockSource& region,
137 ::Random& random,
138 ::BoundingBox const& chunkBB
139 );
140 // NOLINTEND
141
142 public:
143 // vftables
144 // NOLINTBEGIN
145 MCAPI static void** $vftable();
146 // NOLINTEND
147 };
148
149public:
150 // static functions
151 // NOLINTBEGIN
152 MCAPI static void _addPiece(
153 ::Bedrock::NotNullNonOwnerPtr<::StructureManager> structureManager,
154 ::BlockPos const& position,
155 ::Rotation const& rotation,
156 ::std::vector<::std::unique_ptr<::StructurePiece>>& pieces,
157 ::Random& random,
158 ::Dimension& dimension
159 );
160
161 MCAPI static void _addScatteredPieces(
162 ::Bedrock::NotNullNonOwnerPtr<::StructureManager> structureManager,
163 ::Random& random,
164 ::Rotation const& rotation,
165 ::BlockPos const& parentPos,
166 ::std::vector<::std::unique_ptr<::StructurePiece>>& pieces,
167 ::Dimension& dimension
168 );
169 // NOLINTEND
170
171public:
172 // static variables
173 // NOLINTBEGIN
174 MCAPI static ::std::array<::std::string_view, 7>& MSC_FEATURES();
175
176 MCAPI static ::std::string_view& PILLAGER_LOOT();
177
178 MCAPI static ::std::string_view& STRUCTURE_WATCHTOWER();
179
180 MCAPI static ::std::string_view& STRUCTURE_WATCHTOWER_OVERGROWN();
181 // NOLINTEND
182};
Definition BlockPos.h:18
Definition BlockSource.h:67
Definition BoundingBox.h:18
Definition Dimension.h:83
Definition LevelChunk.h:73
Definition PillagerOutpostPieces.h:31
Definition PillagerOutpostPieces.h:23
Definition Random.h:16
Definition StructureManager.h:40
Definition StructurePiece.h:18
Definition TemplateStructurePiece.h:18
Definition ActorDefinitionIdentifier.h:13
Definition Alias.h:14