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
// constructor thunks
67
// NOLINTBEGIN
68
MCAPI
void
* $ctor(
69
::ActorDefinitionGroup
* definitions,
70
::ActorDefinitionIdentifier
const
& definitionName,
71
::EntityContext
& entityContext
72
);
73
// NOLINTEND
74
75
public
:
76
// virtual function thunks
77
// NOLINTBEGIN
78
MCAPI
void
$normalTick();
79
80
MCAPI
bool
$isInvulnerableTo(
::ActorDamageSource
const
& source)
const
;
81
82
MCFOLD
float
$getShadowRadius()
const
;
83
84
MCAPI
void
$addAdditionalSaveData(
::CompoundTag
& tag)
const
;
85
86
MCAPI
void
$readAdditionalSaveData(
::CompoundTag
const
& tag,
::DataLoadHelper
& dataLoadHelper);
87
88
MCAPI
bool
$_hurt(
::ActorDamageSource
const
& source,
float
damage,
bool
knock,
bool
ignite);
89
// NOLINTEND
90
91
public
:
92
// vftables
93
// NOLINTBEGIN
94
MCNAPI
static
void
**
$vftable
();
95
// NOLINTEND
96
};
ActorDamageSource
Definition
ActorDamageSource.h:18
ActorDefinitionGroup
Definition
ActorDefinitionGroup.h:32
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 Sun Oct 12 2025 06:32:18 for LeviLamina by
1.12.0