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 ActorHurtResult;
16class EntityContext;
19// clang-format on
20
21class IronGolem : public ::Mob {
22public:
23 // IronGolem inner types define
24 enum class CrackedAmount : uint {
25 High = 0,
26 Med = 1,
27 Low = 2,
28 None = 3,
29 };
30
31public:
32 // prevent constructor by default
33 IronGolem();
34
35public:
36 // virtual functions
37 // NOLINTBEGIN
38 virtual ::ActorHurtResult
39 doHurtTarget(::Actor* target, ::SharedTypes::Legacy::ActorDamageCause const& cause) /*override*/;
40
41 virtual void handleEntityEvent(::ActorEvent id, int data) /*override*/;
42
43 virtual void die(::ActorDamageSource const& source) /*override*/;
44
45 virtual float getShadowRadius() const /*override*/;
46
47 virtual void
48 hurtEffects(::ActorDamageSource const& source, float damage, ::HurtEffectsSettings const& settings) /*override*/;
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 // virtual function thunks
73 // NOLINTBEGIN
74 MCAPI ::ActorHurtResult $doHurtTarget(::Actor* target, ::SharedTypes::Legacy::ActorDamageCause const& cause);
75
76 MCAPI void $handleEntityEvent(::ActorEvent id, int data);
77
78 MCFOLD void $die(::ActorDamageSource const& source);
79
80 MCFOLD float $getShadowRadius() const;
81
82 MCAPI void $hurtEffects(::ActorDamageSource const& source, float damage, ::HurtEffectsSettings const& settings);
83
84
85 // NOLINTEND
86
87public:
88 // vftables
89 // NOLINTBEGIN
90 MCAPI static void** $vftable();
91 // NOLINTEND
92};
Definition ActorDamageSource.h:18
Definition ActorDefinitionGroup.h:37
Definition ActorHurtResult.h:5
Definition Actor.h:125
Definition EntityContext.h:17
Definition ActorDefinitionIdentifier.h:15
Definition HurtEffectsSettings.h:5