LeviLamina
Loading...
Searching...
No Matches
CreakingHeartBlockActor.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/legacy/ActorUniqueID.h"
7
#include "mc/world/level/block/actor/VanillaBlockActor.h"
8
9
// auto generated forward declare list
10
// clang-format off
11
class
Actor
;
12
class
Block
;
13
class
BlockPos
;
14
class
BlockSource
;
15
class
CompoundTag
;
16
class
DataLoadHelper
;
17
class
ILevel
;
18
class
Level
;
19
class
SaveContext
;
20
// clang-format on
21
22
class
CreakingHeartBlockActor
:
public
::VanillaBlockActor {
23
public
:
24
// member variables
25
// NOLINTBEGIN
26
::ll::TypedStorage<4, 4, uint> mCooldown;
27
::ll::TypedStorage<8, 8, ::ActorUniqueID> mSpawnedCreakingID;
28
::ll::TypedStorage<4, 4, uint> mTrailResidualDuration;
29
// NOLINTEND
30
31
public
:
32
// virtual functions
33
// NOLINTBEGIN
34
virtual
void
load(
::ILevel
& level,
::CompoundTag
const
& tag,
::DataLoadHelper
& dataLoadHelper)
/*override*/
;
35
36
virtual
bool
save(
::CompoundTag
& tag,
::SaveContext
const
& saveContext)
const
/*override*/
;
37
38
virtual
bool
saveItemInstanceData(
::CompoundTag
& tag)
const
/*override*/
;
39
40
virtual
void
tick(
::BlockSource
& region)
/*override*/
;
41
42
virtual
void
onRemoved(
::BlockSource
& region)
/*override*/
;
43
// NOLINTEND
44
45
public
:
46
// member functions
47
// NOLINTBEGIN
48
MCAPI
void
despawnSpawnedCreaking(
::Level
& level);
49
50
MCAPI
void
executeEvent(
51
::BlockSource
& region,
52
::BlockPos
const
&,
53
::Block
const
& block,
54
::std::string
const
& eventName,
55
::Actor
& actor
56
);
57
58
MCAPI
void
onSpawnedCreakingDamaged(
::BlockSource
& region,
::Actor
& creaking);
59
// NOLINTEND
60
61
public
:
62
// virtual function thunks
63
// NOLINTBEGIN
64
MCAPI
void
$load(
::ILevel
& level,
::CompoundTag
const
& tag,
::DataLoadHelper
& dataLoadHelper);
65
66
MCAPI
bool
$save(
::CompoundTag
& tag,
::SaveContext
const
& saveContext)
const
;
67
68
MCFOLD
bool
$saveItemInstanceData(
::CompoundTag
& tag)
const
;
69
70
MCAPI
void
$tick(
::BlockSource
& region);
71
72
MCAPI
void
$onRemoved(
::BlockSource
& region);
73
74
75
// NOLINTEND
76
77
public
:
78
// vftables
79
// NOLINTBEGIN
80
MCNAPI
static
void
**
$vftableForIVanillaRenderBlockActorComponent
();
81
82
MCNAPI
static
void
**
$vftableForIVanillaTickBlockActorComponent
();
83
84
MCNAPI
static
void
**
$vftableForIVanillaMainBlockActorComponent
();
85
86
MCNAPI
static
void
**
$vftableForBlockActor
();
87
// NOLINTEND
88
};
Actor
Definition
Actor.h:113
BlockPos
Definition
BlockPos.h:17
BlockSource
Definition
BlockSource.h:71
Block
Definition
Block.h:41
CompoundTag
Definition
CompoundTag.h:18
CreakingHeartBlockActor
Definition
CreakingHeartBlockActor.h:22
CreakingHeartBlockActor::$vftableForIVanillaMainBlockActorComponent
static MCAPI void ** $vftableForIVanillaMainBlockActorComponent()
CreakingHeartBlockActor::$vftableForBlockActor
static MCAPI void ** $vftableForBlockActor()
CreakingHeartBlockActor::$vftableForIVanillaTickBlockActorComponent
static MCAPI void ** $vftableForIVanillaTickBlockActorComponent()
CreakingHeartBlockActor::$vftableForIVanillaRenderBlockActorComponent
static MCAPI void ** $vftableForIVanillaRenderBlockActorComponent()
DataLoadHelper
Definition
DataLoadHelper.h:20
ILevel
Definition
ILevel.h:221
Level
Definition
Level.h:254
SaveContext
Definition
SaveContext.h:5
src
mc
world
level
block
actor
CreakingHeartBlockActor.h
Generated on
for LeviLamina by
1.16.1