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
// vIndex: 24
34
virtual
void
normalTick()
/*override*/
;
35
36
// vIndex: 64
37
virtual
bool
isInvulnerableTo(
::ActorDamageSource
const
& source)
const
/*override*/
;
38
39
// vIndex: 35
40
virtual
float
getShadowRadius()
const
/*override*/
;
41
42
// vIndex: 137
43
virtual
void
addAdditionalSaveData(
::CompoundTag
& tag)
const
/*override*/
;
44
45
// vIndex: 136
46
virtual
void
readAdditionalSaveData(
::CompoundTag
const
& tag,
::DataLoadHelper
& dataLoadHelper)
/*override*/
;
47
48
// vIndex: 135
49
virtual
bool
_hurt(
::ActorDamageSource
const
& source,
float
damage,
bool
knock,
bool
ignite)
/*override*/
;
50
51
// vIndex: 8
52
virtual
~EnderCrystal
()
/*override*/
=
default
;
53
// NOLINTEND
54
55
public
:
56
// member functions
57
// NOLINTBEGIN
58
MCAPI
EnderCrystal
(
59
::ActorDefinitionGroup
* definitions,
60
::ActorDefinitionIdentifier
const
& definitionName,
61
::EntityContext
& entityContext
62
);
63
// NOLINTEND
64
65
public
:
66
// static variables
67
// NOLINTBEGIN
68
MCAPI
static
float
const
& HEAL_DISTANCE();
69
// NOLINTEND
70
71
public
:
72
// constructor thunks
73
// NOLINTBEGIN
74
MCAPI
void
* $ctor(
75
::ActorDefinitionGroup
* definitions,
76
::ActorDefinitionIdentifier
const
& definitionName,
77
::EntityContext
& entityContext
78
);
79
// NOLINTEND
80
81
public
:
82
// virtual function thunks
83
// NOLINTBEGIN
84
MCAPI
void
$normalTick();
85
86
MCAPI
bool
$isInvulnerableTo(
::ActorDamageSource
const
& source)
const
;
87
88
MCFOLD
float
$getShadowRadius()
const
;
89
90
MCAPI
void
$addAdditionalSaveData(
::CompoundTag
& tag)
const
;
91
92
MCAPI
void
$readAdditionalSaveData(
::CompoundTag
const
& tag,
::DataLoadHelper
& dataLoadHelper);
93
94
MCAPI
bool
$_hurt(
::ActorDamageSource
const
& source,
float
damage,
bool
knock,
bool
ignite);
95
// NOLINTEND
96
97
public
:
98
// vftables
99
// NOLINTBEGIN
100
MCNAPI
static
void
**
$vftable
();
101
// NOLINTEND
102
};
ActorDamageSource
Definition
ActorDamageSource.h:18
ActorDefinitionGroup
Definition
ActorDefinitionGroup.h:35
Actor
Definition
Actor.h:102
CompoundTag
Definition
CompoundTag.h:13
DataLoadHelper
Definition
DataLoadHelper.h:20
EnderCrystal
Definition
EnderCrystal.h:18
EnderCrystal::$vftable
static MCAPI void ** $vftable()
EntityContext
Definition
EntityContext.h:16
ActorDefinitionIdentifier
Definition
ActorDefinitionIdentifier.h:15
src-server
mc
world
actor
monster
EnderCrystal.h
Generated on Tue Nov 25 2025 04:01:38 for LeviLamina by
1.12.0