LeviLamina
Loading...
Searching...
No Matches
NetherFortressPiece.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/levelgen/structure/StructurePiece.h"
7
8// auto generated forward declare list
9// clang-format off
10class BlockSource;
11class BoundingBox;
12class LevelChunk;
13class NBStartPiece;
14class PieceWeight;
15class Random;
16// clang-format on
17
19public:
20 // NetherFortressPiece inner types declare
21 // clang-format off
22 struct LocalRegistry;
23 // clang-format on
24
25 // NetherFortressPiece inner types define
27 public:
28 // member variables
29 // NOLINTBEGIN
36 // NOLINTEND
37
38 public:
39 // prevent constructor by default
40 LocalRegistry& operator=(LocalRegistry const&);
43 };
44
45public:
46 // member variables
47 // NOLINTBEGIN
49 // NOLINTEND
50
51public:
52 // prevent constructor by default
56
57public:
58 // virtual functions
59 // NOLINTBEGIN
60 // vIndex: 12
61 virtual void addHardcodedSpawnAreas(::LevelChunk& chunk) const /*override*/;
62
63 // vIndex: 4
64 virtual bool postProcess(::BlockSource& region, ::Random& random, ::BoundingBox const& chunkBB) /*override*/;
65
66 // vIndex: 0
67 virtual ~NetherFortressPiece() /*override*/;
68 // NOLINTEND
69
70public:
71 // member functions
72 // NOLINTBEGIN
73 MCAPI ::std::unique_ptr<::NetherFortressPiece> findAndCreateBridgePieceFactory(
74 ::std::string const& pieceClass,
75 ::std::vector<::std::unique_ptr<::StructurePiece>>& pieces,
76 ::Random& random,
77 int footX,
78 int footY,
79 int footZ,
80 int direction,
81 int depth
82 );
83
84 MCAPI ::StructurePiece* generateAndAddPiece(
85 ::NBStartPiece& startPiece,
86 ::std::vector<::std::unique_ptr<::StructurePiece>>& pieces,
87 ::Random& random,
88 int footX,
89 int footY,
90 int footZ,
91 int direction,
92 int depth,
93 bool isCastle
94 );
95
96 MCAPI ::StructurePiece* generateChildForward(
97 ::NBStartPiece& startPiece,
98 ::std::vector<::std::unique_ptr<::StructurePiece>>& pieces,
99 ::Random& random,
100 int xOff,
101 int yOff,
102 bool isCastle
103 );
104
105 MCAPI ::StructurePiece* generateChildLeft(
106 ::NBStartPiece& startPiece,
107 ::std::vector<::std::unique_ptr<::StructurePiece>>& pieces,
108 ::Random& random,
109 int yOff,
110 int zOff,
111 bool isCastle
112 );
113
114 MCAPI ::StructurePiece* generateChildRight(
115 ::NBStartPiece& startPiece,
116 ::std::vector<::std::unique_ptr<::StructurePiece>>& pieces,
117 ::Random& random,
118 int yOff,
119 int zOff,
120 bool isCastle
121 );
122
123 MCAPI ::std::unique_ptr<::NetherFortressPiece> generatePiece(
124 ::NBStartPiece& startPiece,
125 ::std::vector<::PieceWeight>& currentPieces,
126 ::std::vector<::std::unique_ptr<::StructurePiece>>& pieces,
127 ::Random& random,
128 int footX,
129 int footY,
130 int footZ,
131 int direction,
132 int depth
133 );
134 // NOLINTEND
135
136public:
137 // destructor thunk
138 // NOLINTBEGIN
139 MCFOLD void $dtor();
140 // NOLINTEND
141
142public:
143 // virtual function thunks
144 // NOLINTBEGIN
145 MCAPI void $addHardcodedSpawnAreas(::LevelChunk& chunk) const;
146
147 MCAPI bool $postProcess(::BlockSource& region, ::Random& random, ::BoundingBox const& chunkBB);
148 // NOLINTEND
149
150public:
151 // vftables
152 // NOLINTBEGIN
153 MCAPI static void** $vftable();
154 // NOLINTEND
155};
Definition BlockSource.h:67
Definition BoundingBox.h:18
Definition LevelChunk.h:73
Definition NBStartPiece.h:14
Definition NetherFortressPiece.h:18
Definition PieceWeight.h:5
Definition Random.h:16
Definition StructurePiece.h:18
Definition NetherFortressPiece.h:26
Definition Alias.h:14