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
80 MCNAPI ::MobSpawnRules& setMobEventType(::std::string const& eventName);
81
83 // NOLINTEND
84
85public:
86 // static variables
87 // NOLINTBEGIN
88 MCNAPI static int const& LOW_END_MAX_SPAWN_DISTANCE();
89
90 MCNAPI static int const& MAX_DEFAULT_SPAWN_DISTANCE();
91
92 MCNAPI static uint64 const& MAX_WORLD_AGE();
93
94 MCNAPI static int const& MIN_DEFAULT_SPAWN_DISTANCE();
95 // NOLINTEND
96
97public:
98 // constructor thunks
99 // NOLINTBEGIN
100 MCNAPI void* $ctor();
101
102 MCNAPI void* $ctor(::MobSpawnRules&&);
103
104 MCNAPI void* $ctor(::MobSpawnRules const&);
105 // NOLINTEND
106
107public:
108 // destructor thunk
109 // NOLINTBEGIN
110 MCNAPI void $dtor();
111 // NOLINTEND
112};
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 & setMobEventType(::std::string const &eventName)
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