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
// vIndex: 176
35
virtual
void
newServerAiStep()
/*override*/
;
36
37
// vIndex: 135
38
virtual
bool
_hurt(
::ActorDamageSource
const
& source,
float
damage,
bool
knock,
bool
ignite)
/*override*/
;
39
40
// vIndex: 136
41
virtual
void
readAdditionalSaveData(
::CompoundTag
const
& tag,
::DataLoadHelper
& dataLoadHelper)
/*override*/
;
42
43
// vIndex: 137
44
virtual
void
addAdditionalSaveData(
::CompoundTag
& tag)
const
/*override*/
;
45
46
// vIndex: 147
47
virtual
void
pushActors()
/*override*/
;
48
49
// vIndex: 8
50
virtual
~Bat
()
/*override*/
=
default
;
51
// NOLINTEND
52
53
public
:
54
// member functions
55
// NOLINTBEGIN
56
MCAPI
57
Bat
(
::ActorDefinitionGroup
* definitions,
58
::ActorDefinitionIdentifier
const
& definitionName,
59
::EntityContext
& entityContext);
60
61
MCAPI
void
postNormalTick();
62
// NOLINTEND
63
64
public
:
65
// constructor thunks
66
// NOLINTBEGIN
67
MCAPI
void
* $ctor(
68
::ActorDefinitionGroup
* definitions,
69
::ActorDefinitionIdentifier
const
& definitionName,
70
::EntityContext
& entityContext
71
);
72
// NOLINTEND
73
74
public
:
75
// virtual function thunks
76
// NOLINTBEGIN
77
MCAPI
void
$newServerAiStep();
78
79
MCAPI
bool
$_hurt(
::ActorDamageSource
const
& source,
float
damage,
bool
knock,
bool
ignite);
80
81
MCAPI
void
$readAdditionalSaveData(
::CompoundTag
const
& tag,
::DataLoadHelper
& dataLoadHelper);
82
83
MCAPI
void
$addAdditionalSaveData(
::CompoundTag
& tag)
const
;
84
85
MCFOLD
void
$pushActors();
86
// NOLINTEND
87
88
public
:
89
// vftables
90
// NOLINTBEGIN
91
MCNAPI
static
void
**
$vftable
();
92
// NOLINTEND
93
};
ActorDamageSource
Definition
ActorDamageSource.h:18
ActorDefinitionGroup
Definition
ActorDefinitionGroup.h:32
Bat
Definition
Bat.h:19
Bat::$vftable
static MCAPI void ** $vftable()
CompoundTag
Definition
CompoundTag.h:13
DataLoadHelper
Definition
DataLoadHelper.h:20
EntityContext
Definition
EntityContext.h:16
Mob
Definition
Mob.h:47
ActorDefinitionIdentifier
Definition
ActorDefinitionIdentifier.h:15
src-server
mc
world
actor
animal
Bat.h
Generated on Sun Oct 12 2025 06:32:16 for LeviLamina by
1.12.0