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
// 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
// virtual function thunks
73
// NOLINTBEGIN
74
MCAPI
void
$normalTick();
75
76
MCAPI
bool
$isDarkEnoughToSpawn()
const
;
77
78
MCFOLD
bool
$checkSpawnRules(
bool
fromSpawner);
79
80
MCAPI
float
$_getWalkTargetValue(
::BlockPos
const
& pos);
81
82
MCAPI ::ActorHurtResult $_hurt(
::ActorDamageSource
const
& source,
float
damage,
bool
knock,
bool
ignite);
83
84
MCFOLD
void
$addAdditionalSaveData(
::CompoundTag
& tag)
const
;
85
86
MCAPI
void
$readAdditionalSaveData(
::CompoundTag
const
& tag,
::DataLoadHelper
& dataLoadHelper);
87
88
89
// NOLINTEND
90
91
public
:
92
// vftables
93
// NOLINTBEGIN
94
MCAPI
static
void
** $vftable();
95
// NOLINTEND
96
};
ActorDamageSource
Definition
ActorDamageSource.h:18
ActorDefinitionGroup
Definition
ActorDefinitionGroup.h:37
ActorHurtResult
Definition
ActorHurtResult.h:5
BlockPos
Definition
BlockPos.h:21
CompoundTag
Definition
CompoundTag.h:23
DataLoadHelper
Definition
DataLoadHelper.h:20
EntityContext
Definition
EntityContext.h:17
ActorDefinitionIdentifier
Definition
ActorDefinitionIdentifier.h:15
src
mc
world
actor
monster
Monster.h
Generated on
for LeviLamina by
1.16.1