Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
SpawnChecks.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7class Dimension;
8class ILevel;
9class IRandom;
10class ServerLevel;
11// clang-format on
12
14public:
15 // static functions
16 // NOLINTBEGIN
17 MCNAPI static bool canSpawnNaturally(::ILevel const& level);
18
19 MCAPI static bool canSpawnPigZombieFromPortal(::Dimension const& dimension, ::IRandom& random);
20
21 MCNAPI static bool canSpawnSkeletonTrap(::ILevel const& level, ::IRandom& random);
22
23 MCNAPI static bool canSpawnWanderingTrader(::ServerLevel const& level);
24 // NOLINTEND
25};
Definition Dimension.h:86
Definition ILevel.h:223
Definition IRandom.h:10
Definition ServerLevel.h:58
Definition SpawnChecks.h:13
static MCAPI bool canSpawnNaturally(::ILevel const &level)
static MCAPI bool canSpawnWanderingTrader(::ServerLevel const &level)
static MCAPI bool canSpawnSkeletonTrap(::ILevel const &level, ::IRandom &random)