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/spawn/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
20MCNAPI bool checkAnimal(
22 ::BlockSource& region,
23 ::br::spawn::EntitySpawnReason reason,
24 ::BlockPos pos,
26);
27
28MCNAPI bool checkAnyLightMonster(
29 ::br::spawn::EntityType const& type,
30 ::BlockSource& region,
31 ::br::spawn::EntitySpawnReason reason,
32 ::BlockPos pos,
33 ::IRandom& random
34);
35
36MCNAPI bool checkArmadillo(
38 ::BlockSource& region,
39 ::br::spawn::EntitySpawnReason,
40 ::BlockPos pos,
42);
43
44MCNAPI bool checkAxolotl(
46 ::BlockSource& region,
47 ::br::spawn::EntitySpawnReason,
48 ::BlockPos pos,
50);
51
52MCNAPI bool checkBat(
53 ::br::spawn::EntityType const& type,
54 ::BlockSource& region,
55 ::br::spawn::EntitySpawnReason reason,
56 ::BlockPos pos,
57 ::IRandom& random
58);
59
60MCNAPI bool checkDrowned(
62 ::BlockSource& region,
63 ::br::spawn::EntitySpawnReason reason,
64 ::BlockPos pos,
65 ::IRandom& random
66);
67
68MCNAPI bool checkEndermite(
69 ::br::spawn::EntityType const& type,
70 ::BlockSource& region,
71 ::br::spawn::EntitySpawnReason reason,
72 ::BlockPos pos,
73 ::IRandom& random
74);
75
76MCNAPI bool checkFox(
78 ::BlockSource& region,
79 ::br::spawn::EntitySpawnReason,
80 ::BlockPos pos,
82);
83
84MCNAPI bool checkFrog(
86 ::BlockSource& region,
87 ::br::spawn::EntitySpawnReason,
88 ::BlockPos pos,
90);
91
92MCNAPI bool checkGhast(
93 ::br::spawn::EntityType const& type,
94 ::BlockSource& region,
95 ::br::spawn::EntitySpawnReason reason,
96 ::BlockPos pos,
97 ::IRandom& random
98);
99
100MCNAPI bool checkGlowSquid(
102 ::BlockSource& region,
103 ::br::spawn::EntitySpawnReason,
104 ::BlockPos pos,
105 ::IRandom&
106);
107
108MCNAPI bool checkGoat(
110 ::BlockSource& region,
111 ::br::spawn::EntitySpawnReason,
112 ::BlockPos pos,
113 ::IRandom&
114);
115
116MCNAPI bool checkGuardian(
118 ::BlockSource& region,
119 ::br::spawn::EntitySpawnReason reason,
120 ::BlockPos pos,
121 ::IRandom& random
122);
123
124MCNAPI bool checkHoglin(
126 ::BlockSource& region,
127 ::br::spawn::EntitySpawnReason,
128 ::BlockPos pos,
129 ::IRandom&
130);
131
132MCNAPI bool checkHusk(
133 ::br::spawn::EntityType const& type,
134 ::BlockSource& region,
135 ::br::spawn::EntitySpawnReason reason,
136 ::BlockPos pos,
137 ::IRandom& random
138);
139
140MCNAPI bool checkMagmaCube(
142 ::BlockSource& region,
143 ::br::spawn::EntitySpawnReason,
145 ::IRandom&
146);
147
148MCNAPI bool checkMob(
149 ::br::spawn::EntityType const& type,
150 ::BlockSource& region,
151 ::br::spawn::EntitySpawnReason reason,
152 ::BlockPos pos,
153 ::IRandom&
154);
155
156MCNAPI bool checkMonster(
157 ::br::spawn::EntityType const& type,
158 ::BlockSource& region,
159 ::br::spawn::EntitySpawnReason reason,
160 ::BlockPos pos,
161 ::IRandom& random
162);
163
164MCNAPI bool checkMooshroom(
166 ::BlockSource& region,
167 ::br::spawn::EntitySpawnReason,
168 ::BlockPos pos,
169 ::IRandom&
170);
171
172MCNAPI bool checkObstructionIgnoreWater(::BlockSource& region, ::Mob const& mob, ::br::spawn::EntityType const&);
173
174MCNAPI bool checkObstructionIronGolem(::BlockSource& region, ::Mob const& mob, ::br::spawn::EntityType const& type);
175
176MCNAPI bool checkObstructionMob(::BlockSource& region, ::Mob const& mob, ::br::spawn::EntityType const&);
177
178MCNAPI bool checkObstructionRaveger(::BlockSource& region, ::Mob const& mob, ::br::spawn::EntityType const&);
179
180MCNAPI bool checkObstructionWarden(::BlockSource& region, ::Mob const& mob, ::br::spawn::EntityType const& type);
181
182MCNAPI bool checkOcelot(
185 ::br::spawn::EntitySpawnReason,
187 ::IRandom& rand
188);
189
190MCNAPI bool checkParrot(
192 ::BlockSource& region,
193 ::br::spawn::EntitySpawnReason,
194 ::BlockPos pos,
195 ::IRandom&
196);
197
198MCNAPI bool checkPatrollingMonster(
199 ::br::spawn::EntityType const& type,
200 ::BlockSource& region,
201 ::br::spawn::EntitySpawnReason reason,
202 ::BlockPos pos,
203 ::IRandom& random
204);
205
206MCNAPI bool checkPiglin(
207 ::br::spawn::EntityType const& type,
208 ::BlockSource& region,
209 ::br::spawn::EntitySpawnReason reason,
210 ::BlockPos pos,
211 ::IRandom& random
212);
213
214MCNAPI bool checkPolarBear(
215 ::br::spawn::EntityType const& type,
216 ::BlockSource& region,
217 ::br::spawn::EntitySpawnReason reason,
218 ::BlockPos pos,
219 ::IRandom& random
220);
221
222MCNAPI bool checkRabbit(
224 ::BlockSource& region,
225 ::br::spawn::EntitySpawnReason,
226 ::BlockPos pos,
227 ::IRandom&
228);
229
230MCNAPI bool checkSilverfish(
231 ::br::spawn::EntityType const& type,
232 ::BlockSource& region,
233 ::br::spawn::EntitySpawnReason reason,
234 ::BlockPos pos,
235 ::IRandom& random
236);
237
238MCNAPI bool checkSkeletonHorse(
239 ::br::spawn::EntityType const& type,
240 ::BlockSource& region,
241 ::br::spawn::EntitySpawnReason reason,
242 ::BlockPos pos,
243 ::IRandom& random
244);
245
246MCNAPI bool checkSlime(
247 ::br::spawn::EntityType const& type,
248 ::BlockSource& region,
249 ::br::spawn::EntitySpawnReason reason,
250 ::BlockPos pos,
251 ::IRandom& random
252);
253
254MCNAPI bool checkStray(
255 ::br::spawn::EntityType const& type,
256 ::BlockSource& region,
257 ::br::spawn::EntitySpawnReason reason,
258 ::BlockPos pos,
259 ::IRandom& random
260);
261
262MCNAPI bool checkStrider(
264 ::BlockSource& region,
265 ::br::spawn::EntitySpawnReason,
266 ::BlockPos pos,
267 ::IRandom&
268);
269
270MCNAPI bool checkSurfaceAgeableCreature(
271 ::br::spawn::EntityType const& type,
272 ::BlockSource& region,
273 ::br::spawn::EntitySpawnReason reason,
274 ::BlockPos pos,
275 ::IRandom& rand
276);
277
278MCNAPI bool checkSurfaceWaterAnimal(
280 ::BlockSource& region,
281 ::br::spawn::EntitySpawnReason,
282 ::BlockPos pos,
283 ::IRandom&
284);
285
286MCNAPI bool checkTropicalFish(
287 ::br::spawn::EntityType const& type,
288 ::BlockSource& region,
289 ::br::spawn::EntitySpawnReason reason,
290 ::BlockPos pos,
291 ::IRandom& rand
292);
293
294MCNAPI bool checkTurtle(
296 ::BlockSource& region,
297 ::br::spawn::EntitySpawnReason,
298 ::BlockPos pos,
299 ::IRandom&
300);
301
302MCNAPI bool checkWolf(
304 ::BlockSource& region,
305 ::br::spawn::EntitySpawnReason,
306 ::BlockPos pos,
307 ::IRandom&
308);
309
310MCNAPI bool checkZombieHorse(
311 ::br::spawn::EntityType const& type,
312 ::BlockSource& region,
313 ::br::spawn::EntitySpawnReason reason,
314 ::BlockPos pos,
315 ::IRandom& random
316);
317
318MCNAPI 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:18
Definition BlockSource.h:67
Definition IRandom.h:10
Definition Mob.h:47
Definition EntityType.h:16