LeviLamina
Loading...
Searching...
No Matches
Guardian.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/actor/ActorInitializationMethod.h"
7#include "mc/world/actor/monster/Monster.h"
8
9// auto generated forward declare list
10// clang-format off
11class Actor;
14class CompoundTag;
15class DataLoadHelper;
16class EntityContext;
17class Vec3;
20// clang-format on
21
22class Guardian : public ::Monster {
23public:
24 // member variables
25 // NOLINTBEGIN
38 // NOLINTEND
39
40public:
41 // prevent constructor by default
42 Guardian& operator=(Guardian const&);
43 Guardian(Guardian const&);
44 Guardian();
45
46public:
47 // virtual functions
48 // NOLINTBEGIN
49 // vIndex: 8
50 virtual ~Guardian() /*override*/;
51
52 // vIndex: 2
53 virtual void reloadHardcoded(::ActorInitializationMethod method, ::VariantParameterList const& params) /*override*/;
54
55 // vIndex: 3
56 virtual void reloadHardcodedClient(::ActorInitializationMethod method) /*override*/;
57
58 // vIndex: 147
59 virtual bool checkSpawnRules(bool) /*override*/;
60
61 // vIndex: 51
62 virtual void setTarget(::Actor* target) /*override*/;
63
64 // vIndex: 152
65 virtual float getMaxHeadXRot() /*override*/;
66
67 // vIndex: 137
68 virtual void addAdditionalSaveData(::CompoundTag& tag) const /*override*/;
69
70 // vIndex: 136
71 virtual void readAdditionalSaveData(::CompoundTag const& tag, ::DataLoadHelper& dataLoadHelper) /*override*/;
72
73 // vIndex: 177
74 virtual bool isDarkEnoughToSpawn() const /*override*/;
75
76 // vIndex: 135
77 virtual bool _hurt(::ActorDamageSource const& source, float damage, bool knock, bool ignite) /*override*/;
78 // NOLINTEND
79
80public:
81 // member functions
82 // NOLINTBEGIN
83 MCAPI Guardian(
84 ::ActorDefinitionGroup* definitions,
85 ::ActorDefinitionIdentifier const& definitionName,
86 ::EntityContext& entityContext
87 );
88
89 MCAPI ::Vec3 getMoveEyeVector();
90
91 MCAPI bool isElder() const;
92
93 MCAPI void preAiStep();
94
95 MCAPI void registerLoopingSounds();
96 // NOLINTEND
97
98public:
99 // constructor thunks
100 // NOLINTBEGIN
101 MCAPI void* $ctor(
102 ::ActorDefinitionGroup* definitions,
103 ::ActorDefinitionIdentifier const& definitionName,
104 ::EntityContext& entityContext
105 );
106 // NOLINTEND
107
108public:
109 // destructor thunk
110 // NOLINTBEGIN
111 MCAPI void $dtor();
112 // NOLINTEND
113
114public:
115 // virtual function thunks
116 // NOLINTBEGIN
117 MCAPI void $reloadHardcoded(::ActorInitializationMethod method, ::VariantParameterList const& params);
118
119 MCAPI void $reloadHardcodedClient(::ActorInitializationMethod method);
120
121 MCAPI bool $checkSpawnRules(bool);
122
123 MCFOLD void $setTarget(::Actor* target);
124
125 MCFOLD float $getMaxHeadXRot();
126
127 MCAPI void $addAdditionalSaveData(::CompoundTag& tag) const;
128
129 MCAPI void $readAdditionalSaveData(::CompoundTag const& tag, ::DataLoadHelper& dataLoadHelper);
130
131 MCFOLD bool $isDarkEnoughToSpawn() const;
132
133 MCAPI bool $_hurt(::ActorDamageSource const& source, float damage, bool knock, bool ignite);
134 // NOLINTEND
135
136public:
137 // vftables
138 // NOLINTBEGIN
139 MCAPI static void** $vftable();
140 // NOLINTEND
141};
Definition ActorDamageSource.h:18
Definition ActorDefinitionGroup.h:27
Definition Actor.h:104
Definition CompoundTag.h:13
Definition DataLoadHelper.h:20
Definition EntityContext.h:16
Definition Guardian.h:22
Definition Monster.h:19
Definition Vec3.h:10
Definition ActorDefinitionIdentifier.h:13
Definition VariantParameterList.h:5
Definition Alias.h:14