LeviLamina
Loading...
Searching...
No Matches
Bat.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/deps/core/math/Vec3.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
CompoundTag
;
14
class
DataLoadHelper
;
15
class
EntityContext
;
16
struct
ActorDefinitionIdentifier
;
17
// clang-format on
18
19
class
Bat :
public
::Mob {
20
public
:
21
// member variables
22
// NOLINTBEGIN
23
::ll::TypedStorage<1, 1, bool> mWasResting;
24
::ll::TypedStorage<4, 12, ::Vec3> mTargetPosition;
25
// NOLINTEND
26
27
public
:
28
// prevent constructor by default
29
Bat();
30
31
public
:
32
// virtual functions
33
// NOLINTBEGIN
34
virtual
void
newServerAiStep()
/*override*/
;
35
36
virtual
bool
_hurt(
::ActorDamageSource
const
& source,
float
damage,
bool
knock,
bool
ignite)
/*override*/
;
37
38
virtual
void
readAdditionalSaveData(
::CompoundTag
const
& tag,
::DataLoadHelper
& dataLoadHelper)
/*override*/
;
39
40
virtual
void
addAdditionalSaveData(
::CompoundTag
& entityTag)
const
/*override*/
;
41
42
virtual
void
pushActors()
/*override*/
;
43
44
virtual
~Bat()
/*override*/
=
default
;
45
// NOLINTEND
46
47
public
:
48
// member functions
49
// NOLINTBEGIN
50
MCAPI
51
Bat(
::ActorDefinitionGroup
* definitions,
52
::ActorDefinitionIdentifier
const
& definitionName,
53
::EntityContext
& entityContext);
54
55
MCAPI
void
postNormalTick();
56
// NOLINTEND
57
58
public
:
59
// constructor thunks
60
// NOLINTBEGIN
61
MCAPI
void
* $ctor(
62
::ActorDefinitionGroup
* definitions,
63
::ActorDefinitionIdentifier
const
& definitionName,
64
::EntityContext
& entityContext
65
);
66
// NOLINTEND
67
68
public
:
69
// virtual function thunks
70
// NOLINTBEGIN
71
MCAPI
void
$newServerAiStep();
72
73
MCAPI
bool
$_hurt(
::ActorDamageSource
const
& source,
float
damage,
bool
knock,
bool
ignite);
74
75
MCAPI
void
$readAdditionalSaveData(
::CompoundTag
const
& tag,
::DataLoadHelper
& dataLoadHelper);
76
77
MCAPI
void
$addAdditionalSaveData(
::CompoundTag
& entityTag)
const
;
78
79
MCFOLD
void
$pushActors();
80
81
82
// NOLINTEND
83
84
public
:
85
// vftables
86
// NOLINTBEGIN
87
MCNAPI
static
void
**
$vftable
();
88
// NOLINTEND
89
};
ActorDamageSource
Definition
ActorDamageSource.h:18
ActorDefinitionGroup
Definition
ActorDefinitionGroup.h:35
Bat::$vftable
static MCAPI void ** $vftable()
CompoundTag
Definition
CompoundTag.h:23
DataLoadHelper
Definition
DataLoadHelper.h:20
EntityContext
Definition
EntityContext.h:16
ActorDefinitionIdentifier
Definition
ActorDefinitionIdentifier.h:15
src
mc
world
actor
animal
Bat.h
Generated on
for LeviLamina by
1.16.1