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 MCAPI MobSpawnRules();
65
67
68 MCAPI MobSpawnRules(::MobSpawnRules const&);
69
70 MCAPI ::MobSpawnRules& addPermutation(int weight, int guaranteedCount, ::ActorDefinitionIdentifier const& id);
71
72 MCAPI bool canSpawnInConditions(::SpawnConditions const& conditions, ::BlockSource& region) const;
73
74 MCAPI ::MobSpawnRules& operator=(::MobSpawnRules&&);
75
76 MCAPI ::MobSpawnRules& operator=(::MobSpawnRules const&);
77
78 MCAPI ::MobSpawnHerdInfo const& selectRandomHerd(::IRandom& random) const;
79
80 MCAPI ::MobSpawnRules& setMobEventType(::std::string const& eventName);
81
82 MCAPI ~MobSpawnRules();
83 // NOLINTEND
84
85public:
86 // static variables
87 // NOLINTBEGIN
88 MCAPI static int const& LOW_END_MAX_SPAWN_DISTANCE();
89
90 MCAPI static int const& MAX_DEFAULT_SPAWN_DISTANCE();
91
92 MCAPI static uint64 const& MAX_WORLD_AGE();
93
94 MCAPI static int const& MIN_DEFAULT_SPAWN_DISTANCE();
95 // NOLINTEND
96
97public:
98 // constructor thunks
99 // NOLINTBEGIN
100 MCAPI void* $ctor();
101
102 MCAPI void* $ctor(::MobSpawnRules&&);
103
104 MCAPI void* $ctor(::MobSpawnRules const&);
105 // NOLINTEND
106
107public:
108 // destructor thunk
109 // NOLINTBEGIN
110 MCAPI void $dtor();
111 // NOLINTEND
112};
Definition BlockSource.h:67
Definition IRandom.h:10
Definition MobSpawnRules.h:16
Definition MobSpawnerData.h:16
Definition Random.h:16
Definition SpawnConditions.h:5
Definition ActorDefinitionIdentifier.h:13
Definition MobSpawnHerdInfo.h:5
Definition Alias.h:14