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
ActorHurtResult
;
13
class
CompoundTag
;
14
class
DataLoadHelper
;
15
class
EntityContext
;
16
struct
ActorDefinitionIdentifier
;
17
// clang-format on
18
19
class
EnderCrystal :
public
::Actor {
20
public
:
21
// member variables
22
// NOLINTBEGIN
23
::ll::TypedStorage<8, 64, ::std::function<void(::EnderCrystal&,
::ActorDamageSource
const
&)>>
24
mCrystalDamagedCallback;
25
// NOLINTEND
26
27
public
:
28
// prevent constructor by default
29
EnderCrystal();
30
31
public
:
32
// virtual functions
33
// NOLINTBEGIN
34
virtual
void
normalTick()
/*override*/
;
35
36
virtual
bool
isInvulnerableTo(
::ActorDamageSource
const
& source)
const
/*override*/
;
37
38
virtual
float
getShadowRadius()
const
/*override*/
;
39
40
virtual
void
addAdditionalSaveData(
::CompoundTag
& tag)
const
/*override*/
;
41
42
virtual
void
readAdditionalSaveData(
::CompoundTag
const
& tag,
::DataLoadHelper
& dataLoadHelper)
/*override*/
;
43
44
virtual ::ActorHurtResult
45
_hurt(
::ActorDamageSource
const
& source,
float
damage,
bool
knock,
bool
ignite)
/*override*/
;
46
47
virtual
~EnderCrystal()
/*override*/
=
default
;
48
// NOLINTEND
49
50
public
:
51
// member functions
52
// NOLINTBEGIN
53
MCAPI EnderCrystal(
54
::ActorDefinitionGroup
* definitions,
55
::ActorDefinitionIdentifier
const
& definitionName,
56
::EntityContext
& entityContext
57
);
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
$normalTick();
74
75
MCAPI
bool
$isInvulnerableTo(
::ActorDamageSource
const
& source)
const
;
76
77
MCFOLD
float
$getShadowRadius()
const
;
78
79
MCAPI
void
$addAdditionalSaveData(
::CompoundTag
& tag)
const
;
80
81
MCAPI
void
$readAdditionalSaveData(
::CompoundTag
const
& tag,
::DataLoadHelper
& dataLoadHelper);
82
83
MCAPI ::ActorHurtResult $_hurt(
::ActorDamageSource
const
& source,
float
damage,
bool
knock,
bool
ignite);
84
85
86
// NOLINTEND
87
88
public
:
89
// vftables
90
// NOLINTBEGIN
91
MCAPI
static
void
** $vftable();
92
// NOLINTEND
93
};
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
monster
EnderCrystal.h
Generated on
for LeviLamina by
1.16.1