LeviLamina
Loading...
Searching...
No Matches
IronGolem.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/shared_types/legacy/actor/ActorDamageCause.h"
7#include "mc/world/actor/ActorEvent.h"
8#include "mc/world/actor/Mob.h"
9
10// auto generated forward declare list
11// clang-format off
12class Actor;
15class EntityContext;
17// clang-format on
18
19class IronGolem : public ::Mob {
20public:
21 // IronGolem inner types define
22 enum class CrackedAmount : uint {
23 High = 0,
24 Med = 1,
25 Low = 2,
26 None = 3,
27 };
28
29public:
30 // virtual functions
31 // NOLINTBEGIN
32 // vIndex: 154
33 virtual bool doHurtTarget(::Actor*, ::SharedTypes::Legacy::ActorDamageCause const&) /*override*/;
34
35 // vIndex: 69
36 virtual void handleEntityEvent(::ActorEvent eventId, int data) /*override*/;
37
38 // vIndex: 123
39 virtual void die(::ActorDamageSource const& source) /*override*/;
40
41 // vIndex: 35
42 virtual float getShadowRadius() const /*override*/;
43
44 // vIndex: 144
45 virtual void hurtEffects(::ActorDamageSource const& source, float damage, bool knock, bool ignite) /*override*/;
46
47 // vIndex: 8
48 virtual ~IronGolem() /*override*/ = default;
49 // NOLINTEND
50
51public:
52 // member functions
53 // NOLINTBEGIN
54 MCAPI IronGolem(
55 ::ActorDefinitionGroup* definitions,
56 ::ActorDefinitionIdentifier const& definitionName,
57 ::EntityContext& entityContext
58 );
59 // NOLINTEND
60
61public:
62 // constructor thunks
63 // NOLINTBEGIN
64 MCAPI void* $ctor(
65 ::ActorDefinitionGroup* definitions,
66 ::ActorDefinitionIdentifier const& definitionName,
67 ::EntityContext& entityContext
68 );
69 // NOLINTEND
70
71public:
72 // destructor thunk
73 // NOLINTBEGIN
74
75 // NOLINTEND
76
77public:
78 // virtual function thunks
79 // NOLINTBEGIN
80 MCFOLD void $die(::ActorDamageSource const& source);
81
82 MCFOLD float $getShadowRadius() const;
83
84 MCAPI void $hurtEffects(::ActorDamageSource const& source, float damage, bool knock, bool ignite);
85 // NOLINTEND
86
87public:
88 // vftables
89 // NOLINTBEGIN
90 MCAPI static void** $vftable();
91 // NOLINTEND
92};
Definition ActorDamageSource.h:18
Definition ActorDefinitionGroup.h:27
Definition Actor.h:104
Definition EntityContext.h:16
Definition IronGolem.h:19
Definition Mob.h:47
Definition ActorDefinitionIdentifier.h:13