LeviLamina
Loading...
Searching...
No Matches
EnderCrystal.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/world/actor/Actor.h"
7
8
// auto generated forward declare list
9
// clang-format off
10
class
ActorDamageSource
;
11
class
ActorDefinitionGroup
;
12
class
CompoundTag
;
13
class
DataLoadHelper
;
14
class
EntityContext
;
15
struct
ActorDefinitionIdentifier
;
16
// clang-format on
17
18
class
EnderCrystal :
public
::Actor {
19
public
:
20
// member variables
21
// NOLINTBEGIN
22
::ll::TypedStorage<8, 64, ::std::function<void(::EnderCrystal&,
::ActorDamageSource
const
&)>>
23
mCrystalDamagedCallback;
24
// NOLINTEND
25
26
public
:
27
// prevent constructor by default
28
EnderCrystal();
29
30
public
:
31
// virtual functions
32
// NOLINTBEGIN
33
virtual
void
normalTick()
/*override*/
;
34
35
virtual
bool
isInvulnerableTo(
::ActorDamageSource
const
& source)
const
/*override*/
;
36
37
virtual
float
getShadowRadius()
const
/*override*/
;
38
39
virtual
void
addAdditionalSaveData(
::CompoundTag
& tag)
const
/*override*/
;
40
41
virtual
void
readAdditionalSaveData(
::CompoundTag
const
& tag,
::DataLoadHelper
& dataLoadHelper)
/*override*/
;
42
43
virtual
bool
_hurt(
::ActorDamageSource
const
& source,
float
damage,
bool
knock,
bool
ignite)
/*override*/
;
44
45
virtual
~EnderCrystal()
/*override*/
=
default
;
46
// NOLINTEND
47
48
public
:
49
// member functions
50
// NOLINTBEGIN
51
MCAPI EnderCrystal(
52
::ActorDefinitionGroup
* definitions,
53
::ActorDefinitionIdentifier
const
& definitionName,
54
::EntityContext
& entityContext
55
);
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
$normalTick();
72
73
MCAPI
bool
$isInvulnerableTo(
::ActorDamageSource
const
& source)
const
;
74
75
MCFOLD
float
$getShadowRadius()
const
;
76
77
MCAPI
void
$addAdditionalSaveData(
::CompoundTag
& tag)
const
;
78
79
MCAPI
void
$readAdditionalSaveData(
::CompoundTag
const
& tag,
::DataLoadHelper
& dataLoadHelper);
80
81
MCAPI
bool
$_hurt(
::ActorDamageSource
const
& source,
float
damage,
bool
knock,
bool
ignite);
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:35
CompoundTag
Definition
CompoundTag.h:23
DataLoadHelper
Definition
DataLoadHelper.h:20
EntityContext
Definition
EntityContext.h:16
ActorDefinitionIdentifier
Definition
ActorDefinitionIdentifier.h:15
src
mc
world
actor
monster
EnderCrystal.h
Generated on
for LeviLamina by
1.16.1