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;
14// clang-format on
15
16class IronGolem : public ::Mob {
17public:
18 // IronGolem inner types define
19 enum class CrackedAmount : uint {
20 High = 0,
21 Med = 1,
22 Low = 2,
23 None = 3,
24 };
25
26public:
27 // virtual functions
28 // NOLINTBEGIN
29 virtual bool doHurtTarget(::Actor* target, ::SharedTypes::Legacy::ActorDamageCause const& cause) /*override*/;
30
31 virtual void handleEntityEvent(::ActorEvent id, int data) /*override*/;
32
33 virtual void die(::ActorDamageSource const& source) /*override*/;
34
35 virtual float getShadowRadius() const /*override*/;
36
37 virtual void hurtEffects(::ActorDamageSource const& source, float damage, bool knock, bool ignite) /*override*/;
38
39 virtual ~IronGolem() /*override*/ = default;
40 // NOLINTEND
41
42public:
43 // virtual function thunks
44 // NOLINTBEGIN
45 MCAPI void $handleEntityEvent(::ActorEvent id, int data);
46
47 MCFOLD void $die(::ActorDamageSource const& source);
48
49 MCFOLD float $getShadowRadius() const;
50
51 MCAPI void $hurtEffects(::ActorDamageSource const& source, float damage, bool knock, bool ignite);
52
53
54 // NOLINTEND
55
56public:
57 // vftables
58 // NOLINTBEGIN
59 MCNAPI static void** $vftable();
60 // NOLINTEND
61};
Definition ActorDamageSource.h:18
Definition Actor.h:105
Definition IronGolem.h:16
static MCAPI void ** $vftable()