LeviLamina
Loading...
Searching...
No Matches
predicate.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/chunk/EntitySpawnReason.h"
7
8// auto generated forward declare list
9// clang-format off
10class BlockPos;
11class BlockSource;
12class IRandom;
13class Mob;
14namespace br::spawn { struct EntityType; }
15// clang-format on
16
17namespace br::spawn::predicate {
18// functions
19// NOLINTBEGIN
20MCAPI bool checkAnimal(
21 ::br::spawn::EntityType const&,
22 ::BlockSource& region,
23 ::br::spawn::EntitySpawnReason reason,
24 ::BlockPos pos,
25 ::IRandom&
26);
27
28MCAPI bool checkAnyLightMonster(
29 ::br::spawn::EntityType const& type,
30 ::BlockSource& region,
31 ::br::spawn::EntitySpawnReason reason,
32 ::BlockPos pos,
33 ::IRandom& random
34);
35
36MCAPI bool checkArmadillo(
37 ::br::spawn::EntityType const&,
38 ::BlockSource& region,
39 ::br::spawn::EntitySpawnReason,
40 ::BlockPos pos,
41 ::IRandom&
42);
43
44MCAPI bool checkAxolotl(
45 ::br::spawn::EntityType const&,
46 ::BlockSource& region,
47 ::br::spawn::EntitySpawnReason,
48 ::BlockPos pos,
49 ::IRandom&
50);
51
52MCAPI bool checkBat(
53 ::br::spawn::EntityType const& type,
54 ::BlockSource& region,
55 ::br::spawn::EntitySpawnReason reason,
56 ::BlockPos pos,
57 ::IRandom& random
58);
59
60MCAPI bool checkDrowned(
61 ::br::spawn::EntityType const&,
62 ::BlockSource& region,
63 ::br::spawn::EntitySpawnReason reason,
64 ::BlockPos pos,
65 ::IRandom& random
66);
67
68MCAPI bool checkEndermite(
69 ::br::spawn::EntityType const& type,
70 ::BlockSource& region,
71 ::br::spawn::EntitySpawnReason reason,
72 ::BlockPos pos,
73 ::IRandom& random
74);
75
76MCAPI bool checkFox(
77 ::br::spawn::EntityType const&,
78 ::BlockSource& region,
79 ::br::spawn::EntitySpawnReason,
80 ::BlockPos pos,
81 ::IRandom&
82);
83
84MCAPI bool checkFrog(
85 ::br::spawn::EntityType const&,
86 ::BlockSource& region,
87 ::br::spawn::EntitySpawnReason,
88 ::BlockPos pos,
89 ::IRandom&
90);
91
92MCAPI bool checkGhast(
93 ::br::spawn::EntityType const& type,
94 ::BlockSource& region,
95 ::br::spawn::EntitySpawnReason reason,
96 ::BlockPos pos,
97 ::IRandom& random
98);
99
100MCAPI bool checkGlowSquid(
101 ::br::spawn::EntityType const&,
102 ::BlockSource& region,
103 ::br::spawn::EntitySpawnReason,
104 ::BlockPos pos,
105 ::IRandom&
106);
107
108MCAPI bool checkGoat(
109 ::br::spawn::EntityType const&,
110 ::BlockSource& region,
111 ::br::spawn::EntitySpawnReason,
112 ::BlockPos pos,
113 ::IRandom&
114);
115
116MCAPI bool checkGuardian(
117 ::br::spawn::EntityType const&,
118 ::BlockSource& region,
119 ::br::spawn::EntitySpawnReason reason,
120 ::BlockPos pos,
121 ::IRandom& random
122);
123
124MCAPI bool checkHoglin(
125 ::br::spawn::EntityType const&,
126 ::BlockSource& region,
127 ::br::spawn::EntitySpawnReason,
128 ::BlockPos pos,
129 ::IRandom&
130);
131
132MCAPI bool checkHusk(
133 ::br::spawn::EntityType const& type,
134 ::BlockSource& region,
135 ::br::spawn::EntitySpawnReason reason,
136 ::BlockPos pos,
137 ::IRandom& random
138);
139
140MCAPI bool checkMagmaCube(
141 ::br::spawn::EntityType const&,
142 ::BlockSource& region,
143 ::br::spawn::EntitySpawnReason,
144 ::BlockPos,
145 ::IRandom&
146);
147
148MCAPI bool checkMob(
149 ::br::spawn::EntityType const& type,
150 ::BlockSource& region,
151 ::br::spawn::EntitySpawnReason reason,
152 ::BlockPos pos,
153 ::IRandom&
154);
155
156MCAPI bool checkMonster(
157 ::br::spawn::EntityType const& type,
158 ::BlockSource& region,
159 ::br::spawn::EntitySpawnReason reason,
160 ::BlockPos pos,
161 ::IRandom& random
162);
163
164MCAPI bool checkMooshroom(
165 ::br::spawn::EntityType const&,
166 ::BlockSource& region,
167 ::br::spawn::EntitySpawnReason,
168 ::BlockPos pos,
169 ::IRandom&
170);
171
172MCAPI bool checkObstructionIgnoreWater(::BlockSource& region, ::Mob const& mob, ::br::spawn::EntityType const&);
173
174MCAPI bool checkObstructionIronGolem(::BlockSource& region, ::Mob const& mob, ::br::spawn::EntityType const& type);
175
176MCAPI bool checkObstructionMob(::BlockSource& region, ::Mob const& mob, ::br::spawn::EntityType const&);
177
178MCAPI bool checkObstructionRaveger(::BlockSource& region, ::Mob const& mob, ::br::spawn::EntityType const&);
179
180MCAPI bool checkObstructionWarden(::BlockSource& region, ::Mob const& mob, ::br::spawn::EntityType const& type);
181
182MCAPI bool checkOcelot(
183 ::br::spawn::EntityType const&,
184 ::BlockSource&,
185 ::br::spawn::EntitySpawnReason,
186 ::BlockPos,
187 ::IRandom& rand
188);
189
190MCAPI bool checkParrot(
191 ::br::spawn::EntityType const&,
192 ::BlockSource& region,
193 ::br::spawn::EntitySpawnReason,
194 ::BlockPos pos,
195 ::IRandom&
196);
197
198MCAPI bool checkPatrollingMonster(
199 ::br::spawn::EntityType const& type,
200 ::BlockSource& region,
201 ::br::spawn::EntitySpawnReason reason,
202 ::BlockPos pos,
203 ::IRandom& random
204);
205
206MCAPI bool checkPiglin(
207 ::br::spawn::EntityType const& type,
208 ::BlockSource& region,
209 ::br::spawn::EntitySpawnReason reason,
210 ::BlockPos pos,
211 ::IRandom& random
212);
213
214MCAPI bool checkPolarBear(
215 ::br::spawn::EntityType const& type,
216 ::BlockSource& region,
217 ::br::spawn::EntitySpawnReason reason,
218 ::BlockPos pos,
219 ::IRandom& random
220);
221
222MCAPI bool checkRabbit(
223 ::br::spawn::EntityType const&,
224 ::BlockSource& region,
225 ::br::spawn::EntitySpawnReason,
226 ::BlockPos pos,
227 ::IRandom&
228);
229
230MCAPI bool checkSilverfish(
231 ::br::spawn::EntityType const& type,
232 ::BlockSource& region,
233 ::br::spawn::EntitySpawnReason reason,
234 ::BlockPos pos,
235 ::IRandom& random
236);
237
238MCFOLD bool checkSkeletonHorse(
239 ::br::spawn::EntityType const& type,
240 ::BlockSource& region,
241 ::br::spawn::EntitySpawnReason reason,
242 ::BlockPos pos,
243 ::IRandom& random
244);
245
246MCAPI bool checkSlime(
247 ::br::spawn::EntityType const& type,
248 ::BlockSource& region,
249 ::br::spawn::EntitySpawnReason reason,
250 ::BlockPos pos,
251 ::IRandom& random
252);
253
254MCAPI bool checkStray(
255 ::br::spawn::EntityType const& type,
256 ::BlockSource& region,
257 ::br::spawn::EntitySpawnReason reason,
258 ::BlockPos pos,
259 ::IRandom& random
260);
261
262MCAPI bool checkStrider(
263 ::br::spawn::EntityType const&,
264 ::BlockSource& region,
265 ::br::spawn::EntitySpawnReason,
266 ::BlockPos pos,
267 ::IRandom&
268);
269
270MCAPI bool checkSurfaceAgeableCreature(
271 ::br::spawn::EntityType const& type,
272 ::BlockSource& region,
273 ::br::spawn::EntitySpawnReason reason,
274 ::BlockPos pos,
275 ::IRandom& rand
276);
277
278MCAPI bool checkSurfaceWaterAnimal(
279 ::br::spawn::EntityType const&,
280 ::BlockSource& region,
281 ::br::spawn::EntitySpawnReason,
282 ::BlockPos pos,
283 ::IRandom&
284);
285
286MCAPI bool checkTropicalFish(
287 ::br::spawn::EntityType const& type,
288 ::BlockSource& region,
289 ::br::spawn::EntitySpawnReason reason,
290 ::BlockPos pos,
291 ::IRandom& rand
292);
293
294MCAPI bool checkTurtle(
295 ::br::spawn::EntityType const&,
296 ::BlockSource& region,
297 ::br::spawn::EntitySpawnReason,
298 ::BlockPos pos,
299 ::IRandom&
300);
301
302MCAPI bool checkWolf(
303 ::br::spawn::EntityType const&,
304 ::BlockSource& region,
305 ::br::spawn::EntitySpawnReason,
306 ::BlockPos pos,
307 ::IRandom&
308);
309
310MCFOLD bool checkZombieHorse(
311 ::br::spawn::EntityType const& type,
312 ::BlockSource& region,
313 ::br::spawn::EntitySpawnReason reason,
314 ::BlockPos pos,
315 ::IRandom& random
316);
317
318MCAPI bool checkZombifiedPiglin(
319 ::br::spawn::EntityType const& type,
320 ::BlockSource& region,
321 ::br::spawn::EntitySpawnReason reason,
322 ::BlockPos pos,
323 ::IRandom& random
324);
325// NOLINTEND
326
327} // namespace br::spawn::predicate
Definition BlockPos.h:19
Definition BlockSource.h:68
Definition IRandom.h:13
Definition Mob.h:50
Definition EntityType.h:16