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
12
class
Actor
;
13
class
ActorDamageSource
;
14
class
ActorDefinitionGroup
;
15
class
EntityContext
;
16
struct
ActorDefinitionIdentifier
;
17
// clang-format on
18
19
class
IronGolem
:
public
::Mob
{
20
public
:
21
// IronGolem inner types define
22
enum class
CrackedAmount : uint {
23
High = 0,
24
Med = 1,
25
Low = 2,
26
None = 3,
27
};
28
29
public
:
30
// prevent constructor by default
31
IronGolem
();
32
33
public
:
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
55
public
:
56
// member functions
57
// NOLINTBEGIN
58
MCAPI
IronGolem
(
59
::ActorDefinitionGroup
* definitions,
60
::ActorDefinitionIdentifier
const
& definitionName,
61
::EntityContext
& entityContext
62
);
63
// NOLINTEND
64
65
public
:
66
// constructor thunks
67
// NOLINTBEGIN
68
MCAPI
void
* $ctor(
69
::ActorDefinitionGroup
* definitions,
70
::ActorDefinitionIdentifier
const
& definitionName,
71
::EntityContext
& entityContext
72
);
73
// NOLINTEND
74
75
public
:
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
87
public
:
88
// vftables
89
// NOLINTBEGIN
90
MCNAPI
static
void
**
$vftable
();
91
// NOLINTEND
92
};
ActorDamageSource
Definition
ActorDamageSource.h:18
ActorDefinitionGroup
Definition
ActorDefinitionGroup.h:29
Actor
Definition
Actor.h:103
EntityContext
Definition
EntityContext.h:16
IronGolem
Definition
IronGolem.h:19
IronGolem::$vftable
static MCAPI void ** $vftable()
Mob
Definition
Mob.h:47
ActorDefinitionIdentifier
Definition
ActorDefinitionIdentifier.h:15
src
mc
world
actor
animal
IronGolem.h
Generated on Fri Jun 13 2025 05:05:00 for LeviLamina by
1.12.0