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
ActorHurtResult
;
14
class
BlockPos
;
15
class
CompoundTag
;
16
class
DataLoadHelper
;
17
class
EntityContext
;
18
struct
ActorDefinitionIdentifier
;
19
// clang-format on
20
21
class
Monster :
public
::Mob {
22
public
:
23
// member variables
24
// NOLINTBEGIN
25
::ll::TypedStorage<8, 8, ::ActorUniqueID> mLastHurtByMobId;
26
// NOLINTEND
27
28
public
:
29
// prevent constructor by default
30
Monster();
31
32
public
:
33
// virtual functions
34
// NOLINTBEGIN
35
virtual
void
normalTick()
/*override*/
;
36
37
virtual
bool
isDarkEnoughToSpawn()
const
;
38
39
virtual
bool
checkSpawnRules(
bool
fromSpawner)
/*override*/
;
40
41
virtual
float
_getWalkTargetValue(
::BlockPos
const
& pos)
/*override*/
;
42
43
virtual ::ActorHurtResult
44
_hurt(
::ActorDamageSource
const
& source,
float
damage,
bool
knock,
bool
ignite)
/*override*/
;
45
46
virtual
void
addAdditionalSaveData(
::CompoundTag
& tag)
const
/*override*/
;
47
48
virtual
void
readAdditionalSaveData(
::CompoundTag
const
& tag,
::DataLoadHelper
& dataLoadHelper)
/*override*/
;
49
50
virtual
~Monster()
/*override*/
;
51
// NOLINTEND
52
53
public
:
54
// member functions
55
// NOLINTBEGIN
56
MCAPI Monster(
57
::ActorDefinitionGroup
* definitions,
58
::ActorDefinitionIdentifier
const
& definitionName,
59
::EntityContext
& entityContext
60
);
61
// NOLINTEND
62
63
public
:
64
// constructor thunks
65
// NOLINTBEGIN
66
MCAPI
void
* $ctor(
67
::ActorDefinitionGroup
* definitions,
68
::ActorDefinitionIdentifier
const
& definitionName,
69
::EntityContext
& entityContext
70
);
71
// NOLINTEND
72
73
public
:
74
// destructor thunk
75
// NOLINTBEGIN
76
MCFOLD
void
$dtor();
77
// NOLINTEND
78
79
public
:
80
// virtual function thunks
81
// NOLINTBEGIN
82
MCAPI
void
$normalTick();
83
84
MCAPI
bool
$isDarkEnoughToSpawn()
const
;
85
86
MCFOLD
bool
$checkSpawnRules(
bool
fromSpawner);
87
88
MCAPI
float
$_getWalkTargetValue(
::BlockPos
const
& pos);
89
90
MCAPI ::ActorHurtResult $_hurt(
::ActorDamageSource
const
& source,
float
damage,
bool
knock,
bool
ignite);
91
92
MCAPI
void
$addAdditionalSaveData(
::CompoundTag
& tag)
const
;
93
94
MCAPI
void
$readAdditionalSaveData(
::CompoundTag
const
& tag,
::DataLoadHelper
& dataLoadHelper);
95
96
97
// NOLINTEND
98
99
public
:
100
// vftables
101
// NOLINTBEGIN
102
MCAPI
static
void
** $vftable();
103
// NOLINTEND
104
};
ActorDamageSource
Definition
ActorDamageSource.h:18
ActorDefinitionGroup
Definition
ActorDefinitionGroup.h:36
ActorHurtResult
Definition
ActorHurtResult.h:5
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