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
struct
HurtParameters
;
19
// clang-format on
20
21
class
Bat :
public
::Mob {
22
public
:
23
// member variables
24
// NOLINTBEGIN
25
::ll::TypedStorage<1, 1, bool> mWasResting;
26
::ll::TypedStorage<4, 12, ::Vec3> mTargetPosition;
27
// NOLINTEND
28
29
public
:
30
// prevent constructor by default
31
Bat();
32
33
public
:
34
// virtual functions
35
// NOLINTBEGIN
36
virtual
void
newServerAiStep()
/*override*/
;
37
38
virtual ::ActorHurtResult
39
_hurt(
::ActorDamageSource
const
& source,
float
damage,
::HurtParameters
const
& hurtParameters)
/*override*/
;
40
41
virtual
void
readAdditionalSaveData(
::CompoundTag
const
& tag,
::DataLoadHelper
& dataLoadHelper)
/*override*/
;
42
43
virtual
void
addAdditionalSaveData(
::CompoundTag
& entityTag)
const
/*override*/
;
44
45
virtual
void
pushActors()
/*override*/
;
46
// NOLINTEND
47
48
public
:
49
// member functions
50
// NOLINTBEGIN
51
MCAPI
52
Bat(
::ActorDefinitionGroup
* definitions,
53
::ActorDefinitionIdentifier
const
& definitionName,
54
::EntityContext
& entityContext);
55
56
MCAPI
void
postNormalTick();
57
// NOLINTEND
58
59
public
:
60
// constructor thunks
61
// NOLINTBEGIN
62
MCAPI
void
* $ctor(
63
::ActorDefinitionGroup
* definitions,
64
::ActorDefinitionIdentifier
const
& definitionName,
65
::EntityContext
& entityContext
66
);
67
// NOLINTEND
68
69
public
:
70
// virtual function thunks
71
// NOLINTBEGIN
72
MCAPI
void
$newServerAiStep();
73
74
MCAPI ::ActorHurtResult
75
$_hurt(
::ActorDamageSource
const
& source,
float
damage,
::HurtParameters
const
& hurtParameters);
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
};
ActorDamageSource
Definition
ActorDamageSource.h:18
ActorDefinitionGroup
Definition
ActorDefinitionGroup.h:26
ActorHurtResult
Definition
ActorHurtResult.h:5
CompoundTag
Definition
CompoundTag.h:18
DataLoadHelper
Definition
DataLoadHelper.h:20
EntityContext
Definition
EntityContext.h:15
ActorDefinitionIdentifier
Definition
ActorDefinitionIdentifier.h:15
HurtParameters
Definition
HurtParameters.h:8
src
mc
world
actor
animal
Bat.h
Generated on
for LeviLamina by
1.16.1