Skip to content
LeviMC
Home
Projects
Docs
6
LeviLamina
Mod loader for Minecraft Bedrock Edition
LegacyScriptEngine
Runs LLSE script plugins on LeviLamina
lip
General package installer
LeviLauncher
Bedrock launcher for Windows and Android
Be.D.D.
Scripted client input for mod tests
bedboo
Bedrock bots with a mineflayer-compatible API
All repositories on GitHub
Mods
Blog
Community
About
English
English
简体中文
繁體中文
Auto
Light
Dark
Auto
Light
Dark
LeviLamina
User Guides
Developer Guides
API Guides
API Reference
Maintainer Guides
Resources
LeviLamina on GitHub
LeviMC
Home
Projects
Docs
6
LeviLamina
Mod loader for Minecraft Bedrock Edition
LegacyScriptEngine
Runs LLSE script plugins on LeviLamina
lip
General package installer
LeviLauncher
Bedrock launcher for Windows and Android
Be.D.D.
Scripted client input for mod tests
bedboo
Bedrock bots with a mineflayer-compatible API
All repositories on GitHub
Mods
Blog
Community
About
API Reference
On this page
LeviLamina
User Guides
Developer Guides
API Guides
API Reference
Maintainer Guides
Search
Ctrl
K
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
MCNAPI
void
despawnSpawnedCreaking
(
::Level
& level);
49
50
MCNAPI
void
executeEvent
(
51
::BlockSource
& region,
52
::BlockPos
const
&,
53
::Block
const
& block,
54
::std::string
const
& eventName,
55
::Actor
& actor
56
);
57
58
MCNAPI
void
onSpawnedCreakingDamaged
(
::BlockSource
& region,
::Actor
& creaking);
59
// NOLINTEND
60
61
public
:
62
// virtual function thunks
63
// NOLINTBEGIN
64
MCNAPI
void
$load
(
::ILevel
& level,
::CompoundTag
const
& tag,
::DataLoadHelper
& dataLoadHelper);
65
66
MCNAPI
bool
$save
(
::CompoundTag
& tag,
::SaveContext
const
& saveContext)
const
;
67
68
MCNAPI
bool
$saveItemInstanceData
(
::CompoundTag
& tag)
const
;
69
70
MCNAPI
void
$tick
(
::BlockSource
& region);
71
72
MCNAPI
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:116
BlockPos
Definition
BlockPos.h:14
BlockSource
Definition
BlockSource.h:72
Block
Definition
Block.h:42
CompoundTag
Definition
CompoundTag.h:18
CreakingHeartBlockActor
Definition
CreakingHeartBlockActor.h:22
CreakingHeartBlockActor::$saveItemInstanceData
MCAPI bool $saveItemInstanceData(::CompoundTag &tag) const
CreakingHeartBlockActor::$save
MCAPI bool $save(::CompoundTag &tag, ::SaveContext const &saveContext) const
CreakingHeartBlockActor::$load
MCAPI void $load(::ILevel &level, ::CompoundTag const &tag, ::DataLoadHelper &dataLoadHelper)
CreakingHeartBlockActor::$vftableForIVanillaMainBlockActorComponent
static MCAPI void ** $vftableForIVanillaMainBlockActorComponent()
CreakingHeartBlockActor::$vftableForBlockActor
static MCAPI void ** $vftableForBlockActor()
CreakingHeartBlockActor::$vftableForIVanillaTickBlockActorComponent
static MCAPI void ** $vftableForIVanillaTickBlockActorComponent()
CreakingHeartBlockActor::despawnSpawnedCreaking
MCAPI void despawnSpawnedCreaking(::Level &level)
CreakingHeartBlockActor::onSpawnedCreakingDamaged
MCAPI void onSpawnedCreakingDamaged(::BlockSource ®ion, ::Actor &creaking)
CreakingHeartBlockActor::$tick
MCAPI void $tick(::BlockSource ®ion)
CreakingHeartBlockActor::$onRemoved
MCAPI void $onRemoved(::BlockSource ®ion)
CreakingHeartBlockActor::$vftableForIVanillaRenderBlockActorComponent
static MCAPI void ** $vftableForIVanillaRenderBlockActorComponent()
CreakingHeartBlockActor::executeEvent
MCAPI void executeEvent(::BlockSource ®ion, ::BlockPos const &, ::Block const &block, ::std::string const &eventName, ::Actor &actor)
DataLoadHelper
Definition
DataLoadHelper.h:20
ILevel
Definition
ILevel.h:223
Level
Definition
Level.h:255
SaveContext
Definition
SaveContext.h:5
src
mc
world
level
block
actor
CreakingHeartBlockActor.h
Generated on
for LeviLamina by
1.16.1