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