LeviLamina
Loading...
Searching...
No Matches
Monster.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/legacy/ActorUniqueID.h"
7
#include "mc/world/actor/Mob.h"
8
9
// auto generated forward declare list
10
// clang-format off
11
class
ActorDamageSource
;
12
class
ActorDefinitionGroup
;
13
class
BlockPos
;
14
class
CompoundTag
;
15
class
DataLoadHelper
;
16
class
EntityContext
;
17
struct
ActorDefinitionIdentifier
;
18
// clang-format on
19
20
class
Monster
:
public
::Mob
{
21
public
:
22
// member variables
23
// NOLINTBEGIN
24
::ll::TypedStorage<8, 8, ::ActorUniqueID> mLastHurtByMobId;
25
// NOLINTEND
26
27
public
:
28
// prevent constructor by default
29
Monster
();
30
31
public
:
32
// virtual functions
33
// NOLINTBEGIN
34
// vIndex: 24
35
virtual
void
normalTick()
/*override*/
;
36
37
// vIndex: 178
38
virtual
bool
isDarkEnoughToSpawn()
const
;
39
40
// vIndex: 148
41
virtual
bool
checkSpawnRules(
bool
fromSpawner)
/*override*/
;
42
43
// vIndex: 172
44
virtual
float
_getWalkTargetValue(
::BlockPos
const
& pos)
/*override*/
;
45
46
// vIndex: 135
47
virtual
bool
_hurt(
::ActorDamageSource
const
& source,
float
damage,
bool
knock,
bool
ignite)
/*override*/
;
48
49
// vIndex: 137
50
virtual
void
addAdditionalSaveData(
::CompoundTag
& tag)
const
/*override*/
;
51
52
// vIndex: 136
53
virtual
void
readAdditionalSaveData(
::CompoundTag
const
& tag,
::DataLoadHelper
& dataLoadHelper)
/*override*/
;
54
55
// vIndex: 8
56
virtual
~Monster
()
/*override*/
;
57
// NOLINTEND
58
59
public
:
60
// member functions
61
// NOLINTBEGIN
62
MCAPI
Monster
(
63
::ActorDefinitionGroup
* definitions,
64
::ActorDefinitionIdentifier
const
& definitionName,
65
::EntityContext
& entityContext
66
);
67
// NOLINTEND
68
69
public
:
70
// constructor thunks
71
// NOLINTBEGIN
72
MCAPI
void
* $ctor(
73
::ActorDefinitionGroup
* definitions,
74
::ActorDefinitionIdentifier
const
& definitionName,
75
::EntityContext
& entityContext
76
);
77
// NOLINTEND
78
79
public
:
80
// destructor thunk
81
// NOLINTBEGIN
82
MCFOLD
void
$dtor();
83
// NOLINTEND
84
85
public
:
86
// virtual function thunks
87
// NOLINTBEGIN
88
MCAPI
void
$normalTick();
89
90
MCAPI
bool
$isDarkEnoughToSpawn()
const
;
91
92
MCFOLD
bool
$checkSpawnRules(
bool
fromSpawner);
93
94
MCAPI
float
$_getWalkTargetValue(
::BlockPos
const
& pos);
95
96
MCAPI
bool
$_hurt(
::ActorDamageSource
const
& source,
float
damage,
bool
knock,
bool
ignite);
97
98
MCAPI
void
$addAdditionalSaveData(
::CompoundTag
& tag)
const
;
99
100
MCAPI
void
$readAdditionalSaveData(
::CompoundTag
const
& tag,
::DataLoadHelper
& dataLoadHelper);
101
// NOLINTEND
102
103
public
:
104
// vftables
105
// NOLINTBEGIN
106
MCAPI
static
void
** $vftable();
107
// NOLINTEND
108
};
ActorDamageSource
Definition
ActorDamageSource.h:18
ActorDefinitionGroup
Definition
ActorDefinitionGroup.h:35
BlockPos
Definition
BlockPos.h:17
CompoundTag
Definition
CompoundTag.h:13
DataLoadHelper
Definition
DataLoadHelper.h:20
EntityContext
Definition
EntityContext.h:16
Mob
Definition
Mob.h:47
Monster
Definition
Monster.h:20
ActorDefinitionIdentifier
Definition
ActorDefinitionIdentifier.h:15
src-server
mc
world
actor
monster
Monster.h
Generated on Tue Nov 25 2025 04:01:38 for LeviLamina by
1.12.0