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 // prevent constructor by default
31 IronGolem();
32
33public:
34 // virtual functions
35 // NOLINTBEGIN
36 // vIndex: 154
37 virtual bool doHurtTarget(::Actor*, ::SharedTypes::Legacy::ActorDamageCause const&) /*override*/;
38
39 // vIndex: 69
40 virtual void handleEntityEvent(::ActorEvent eventId, int data) /*override*/;
41
42 // vIndex: 123
43 virtual void die(::ActorDamageSource const& source) /*override*/;
44
45 // vIndex: 35
46 virtual float getShadowRadius() const /*override*/;
47
48 // vIndex: 144
49 virtual void hurtEffects(::ActorDamageSource const& source, float damage, bool knock, bool ignite) /*override*/;
50
51 // vIndex: 8
52 virtual ~IronGolem() /*override*/ = default;
53 // NOLINTEND
54
55public:
56 // member functions
57 // NOLINTBEGIN
58 MCAPI IronGolem(
59 ::ActorDefinitionGroup* definitions,
60 ::ActorDefinitionIdentifier const& definitionName,
61 ::EntityContext& entityContext
62 );
63 // NOLINTEND
64
65public:
66 // constructor thunks
67 // NOLINTBEGIN
68 MCAPI void* $ctor(
69 ::ActorDefinitionGroup* definitions,
70 ::ActorDefinitionIdentifier const& definitionName,
71 ::EntityContext& entityContext
72 );
73 // NOLINTEND
74
75public:
76 // virtual function thunks
77 // NOLINTBEGIN
78 MCAPI void $handleEntityEvent(::ActorEvent eventId, int data);
79
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 MCNAPI static void** $vftable();
91 // NOLINTEND
92};
Definition ActorDamageSource.h:18
Definition ActorDefinitionGroup.h:29
Definition Actor.h:103
Definition EntityContext.h:16
Definition IronGolem.h:19
static MCAPI void ** $vftable()
Definition Mob.h:47
Definition ActorDefinitionIdentifier.h:15