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
virtual
void
normalTick()
/*override*/
;
35
36
virtual
bool
isDarkEnoughToSpawn()
const
;
37
38
virtual
bool
checkSpawnRules(
bool
fromSpawner)
/*override*/
;
39
40
virtual
float
_getWalkTargetValue(
::BlockPos
const
& pos)
/*override*/
;
41
42
virtual
bool
_hurt(
::ActorDamageSource
const
& source,
float
damage,
bool
knock,
bool
ignite)
/*override*/
;
43
44
virtual
void
addAdditionalSaveData(
::CompoundTag
& tag)
const
/*override*/
;
45
46
virtual
void
readAdditionalSaveData(
::CompoundTag
const
& tag,
::DataLoadHelper
& dataLoadHelper)
/*override*/
;
47
48
virtual
~Monster()
/*override*/
;
49
// NOLINTEND
50
51
public
:
52
// member functions
53
// NOLINTBEGIN
54
MCAPI Monster(
55
::ActorDefinitionGroup
* definitions,
56
::ActorDefinitionIdentifier
const
& definitionName,
57
::EntityContext
& entityContext
58
);
59
// NOLINTEND
60
61
public
:
62
// constructor thunks
63
// NOLINTBEGIN
64
MCAPI
void
* $ctor(
65
::ActorDefinitionGroup
* definitions,
66
::ActorDefinitionIdentifier
const
& definitionName,
67
::EntityContext
& entityContext
68
);
69
// NOLINTEND
70
71
public
:
72
// destructor thunk
73
// NOLINTBEGIN
74
MCFOLD
void
$dtor();
75
// NOLINTEND
76
77
public
:
78
// virtual function thunks
79
// NOLINTBEGIN
80
MCAPI
void
$normalTick();
81
82
MCAPI
bool
$isDarkEnoughToSpawn()
const
;
83
84
MCFOLD
bool
$checkSpawnRules(
bool
fromSpawner);
85
86
MCAPI
float
$_getWalkTargetValue(
::BlockPos
const
& pos);
87
88
MCAPI
bool
$_hurt(
::ActorDamageSource
const
& source,
float
damage,
bool
knock,
bool
ignite);
89
90
MCAPI
void
$addAdditionalSaveData(
::CompoundTag
& tag)
const
;
91
92
MCAPI
void
$readAdditionalSaveData(
::CompoundTag
const
& tag,
::DataLoadHelper
& dataLoadHelper);
93
94
95
// NOLINTEND
96
97
public
:
98
// vftables
99
// NOLINTBEGIN
100
MCAPI
static
void
** $vftable();
101
// NOLINTEND
102
};
ActorDamageSource
Definition
ActorDamageSource.h:18
ActorDefinitionGroup
Definition
ActorDefinitionGroup.h:35
BlockPos
Definition
BlockPos.h:19
CompoundTag
Definition
CompoundTag.h:23
DataLoadHelper
Definition
DataLoadHelper.h:20
EntityContext
Definition
EntityContext.h:16
ActorDefinitionIdentifier
Definition
ActorDefinitionIdentifier.h:15
src
mc
world
actor
monster
Monster.h
Generated on
for LeviLamina by
1.16.1