LeviLamina
Loading...
Searching...
No Matches
EnderMan.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/deps/shared_types/legacy/LevelSoundEvent.h"
7
#include "mc/world/actor/monster/Monster.h"
8
9
// auto generated forward declare list
10
// clang-format off
11
class
ActorDamageSource
;
12
class
ActorDefinitionGroup
;
13
class
AttributeModifier
;
14
class
Block
;
15
class
CompoundTag
;
16
class
DataLoadHelper
;
17
class
EntityContext
;
18
class
MobEffectInstance
;
19
struct
ActorDefinitionIdentifier
;
20
namespace
mce {
class
UUID; }
21
// clang-format on
22
23
class
EnderMan
:
public
::Monster
{
24
public
:
25
// member variables
26
// NOLINTBEGIN
27
::ll::UntypedStorage<1, 1>
mUnk2aaf59;
28
::ll::UntypedStorage<8, 8>
mUnk6e0dae;
29
::ll::UntypedStorage<2, 2>
mUnk9e5069;
30
::ll::UntypedStorage<2, 2>
mUnkf2775f;
31
// NOLINTEND
32
33
public
:
34
// prevent constructor by default
35
EnderMan
& operator=(
EnderMan
const
&);
36
EnderMan
(
EnderMan
const
&);
37
EnderMan
();
38
39
public
:
40
// virtual functions
41
// NOLINTBEGIN
42
// vIndex: 24
43
virtual
void
normalTick()
/*override*/
;
44
45
// vIndex: 175
46
virtual
void
newServerAiStep()
/*override*/
;
47
48
// vIndex: 144
49
virtual
void
hurtEffects(
::ActorDamageSource
const
& source,
float
damage,
bool
knock,
bool
ignite)
/*override*/
;
50
51
// vIndex: 106
52
virtual
bool
canBeAffectedByArrow(
::MobEffectInstance
const
& effect)
const
/*override*/
;
53
54
// vIndex: 63
55
virtual ::SharedTypes::Legacy::LevelSoundEvent getAmbientSound()
const
/*override*/
;
56
57
// vIndex: 135
58
virtual
bool
_hurt(
::ActorDamageSource
const
& source,
float
damage,
bool
knock,
bool
ignite)
/*override*/
;
59
60
// vIndex: 137
61
virtual
void
addAdditionalSaveData(
::CompoundTag
& tag)
const
/*override*/
;
62
63
// vIndex: 136
64
virtual
void
readAdditionalSaveData(
::CompoundTag
const
& tag,
::DataLoadHelper
& dataLoadHelper)
/*override*/
;
65
66
// vIndex: 8
67
virtual
~EnderMan
()
/*override*/
=
default
;
68
// NOLINTEND
69
70
public
:
71
// member functions
72
// NOLINTBEGIN
73
MCAPI
EnderMan
(
74
::ActorDefinitionGroup
* definitions,
75
::ActorDefinitionIdentifier
const
& definitionName,
76
::EntityContext
& entityContext
77
);
78
79
MCAPI ::Block
const
& getCarryingBlock()
const
;
80
81
MCAPI
void
setCarryingBlock(
::Block
const
& block);
82
// NOLINTEND
83
84
public
:
85
// static variables
86
// NOLINTBEGIN
87
MCAPI static ::std::shared_ptr<::AttributeModifier>& SPEED_MODIFIER_ATTACKING();
88
89
MCAPI static ::mce::UUID
const
& SPEED_MODIFIER_ATTACKING_UUID();
90
91
MCAPI static ::std::set<::Block const*>& mMayTake();
92
93
MCAPI
static
bool
& mMayTakeIsSetup();
94
// NOLINTEND
95
96
public
:
97
// constructor thunks
98
// NOLINTBEGIN
99
MCAPI
void
* $ctor(
100
::ActorDefinitionGroup
* definitions,
101
::ActorDefinitionIdentifier
const
& definitionName,
102
::EntityContext
& entityContext
103
);
104
// NOLINTEND
105
106
public
:
107
// destructor thunk
108
// NOLINTBEGIN
109
110
// NOLINTEND
111
112
public
:
113
// virtual function thunks
114
// NOLINTBEGIN
115
MCAPI
void
$normalTick();
116
117
MCAPI
void
$newServerAiStep();
118
119
MCAPI
void
$hurtEffects(
::ActorDamageSource
const
& source,
float
damage,
bool
knock,
bool
ignite);
120
121
MCFOLD
bool
$canBeAffectedByArrow(
::MobEffectInstance
const
& effect)
const
;
122
123
MCAPI ::SharedTypes::Legacy::LevelSoundEvent $getAmbientSound()
const
;
124
125
MCAPI
bool
$_hurt(
::ActorDamageSource
const
& source,
float
damage,
bool
knock,
bool
ignite);
126
127
MCAPI
void
$addAdditionalSaveData(
::CompoundTag
& tag)
const
;
128
129
MCAPI
void
$readAdditionalSaveData(
::CompoundTag
const
& tag,
::DataLoadHelper
& dataLoadHelper);
130
// NOLINTEND
131
132
public
:
133
// vftables
134
// NOLINTBEGIN
135
MCAPI
static
void
** $vftable();
136
// NOLINTEND
137
};
ActorDamageSource
Definition
ActorDamageSource.h:18
ActorDefinitionGroup
Definition
ActorDefinitionGroup.h:27
AttributeModifier
Definition
AttributeModifier.h:14
Block
Definition
Block.h:36
CompoundTag
Definition
CompoundTag.h:13
DataLoadHelper
Definition
DataLoadHelper.h:20
EnderMan
Definition
EnderMan.h:23
EntityContext
Definition
EntityContext.h:16
MobEffectInstance
Definition
MobEffectInstance.h:15
Monster
Definition
Monster.h:19
ActorDefinitionIdentifier
Definition
ActorDefinitionIdentifier.h:13
ll::UntypedStorage
Definition
Alias.h:14
src
mc
world
actor
monster
EnderMan.h
Generated on Sat Apr 26 2025 05:56:06 for LeviLamina by
1.12.0