LeviLamina
Loading...
Searching...
No Matches
MobSpawnRules.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7class BlockSource;
8class IRandom;
10class Random;
11class SpawnConditions;
13struct MobSpawnHerdInfo;
14// clang-format on
15
17public:
18 // member variables
19 // NOLINTBEGIN
59 // NOLINTEND
60
61public:
62 // member functions
63 // NOLINTBEGIN
64 MCNAPI MobSpawnRules();
65
67
69
70 MCNAPI ::MobSpawnRules& addPermutation(int weight, int guaranteedCount, ::ActorDefinitionIdentifier const& id);
71
72 MCNAPI bool canSpawnInConditions(::SpawnConditions const& conditions, ::BlockSource& region) const;
73
74 MCNAPI ::MobSpawnRules& operator=(::MobSpawnRules&&);
75
76 MCNAPI ::MobSpawnRules& operator=(::MobSpawnRules const&);
77
78 MCNAPI ::MobSpawnHerdInfo const& selectRandomHerd(::IRandom& random) const;
79
81 // NOLINTEND
82
83public:
84 // static variables
85 // NOLINTBEGIN
86 MCNAPI static int const& LOW_END_MAX_SPAWN_DISTANCE();
87
88 MCNAPI static int const& MAX_DEFAULT_SPAWN_DISTANCE();
89
90 MCNAPI static uint64 const& MAX_WORLD_AGE();
91
92 MCNAPI static int const& MIN_DEFAULT_SPAWN_DISTANCE();
93 // NOLINTEND
94
95public:
96 // constructor thunks
97 // NOLINTBEGIN
98 MCNAPI void* $ctor();
99
100 MCNAPI void* $ctor(::MobSpawnRules&&);
101
102 MCNAPI void* $ctor(::MobSpawnRules const&);
103 // NOLINTEND
104
105public:
106 // destructor thunk
107 // NOLINTBEGIN
108 MCNAPI void $dtor();
109 // NOLINTEND
110};
Definition BlockSource.h:67
Definition IRandom.h:10
Definition MobSpawnRules.h:16
static MCAPI int const & MAX_DEFAULT_SPAWN_DISTANCE()
MCAPI void * $ctor(::MobSpawnRules const &)
MCAPI::MobSpawnHerdInfo const & selectRandomHerd(::IRandom &random) const
static MCAPI int const & LOW_END_MAX_SPAWN_DISTANCE()
MCAPI MobSpawnRules(::MobSpawnRules &&)
MCAPI MobSpawnRules()
MCAPI::MobSpawnRules & addPermutation(int weight, int guaranteedCount, ::ActorDefinitionIdentifier const &id)
static MCAPI int const & MIN_DEFAULT_SPAWN_DISTANCE()
MCAPI bool canSpawnInConditions(::SpawnConditions const &conditions, ::BlockSource &region) const
MCAPI void * $ctor(::MobSpawnRules &&)
MCAPI MobSpawnRules(::MobSpawnRules const &)
MCAPI void $dtor()
MCAPI::MobSpawnRules & operator=(::MobSpawnRules &&)
static MCAPI uint64 const & MAX_WORLD_AGE()
MCAPI::MobSpawnRules & operator=(::MobSpawnRules const &)
MCAPI ~MobSpawnRules()
MCAPI void * $ctor()
Definition MobSpawnerData.h:16
Definition Random.h:11
Definition SpawnConditions.h:5
Definition ActorDefinitionIdentifier.h:15
Definition MobSpawnHerdInfo.h:5
Definition Alias.h:14