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
NoteBlockActor.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/deps/shared_types/v1_26_20/block/NoteBlockInstrument.h"
7
#include "mc/world/level/block/actor/VanillaBlockActor.h"
8
9
// auto generated forward declare list
10
// clang-format off
11
class
BlockPos
;
12
class
BlockSource
;
13
class
CompoundTag
;
14
class
DataLoadHelper
;
15
class
ILevel
;
16
class
SaveContext
;
17
// clang-format on
18
19
class
NoteBlockActor
:
public
::VanillaBlockActor {
20
public
:
21
// member variables
22
// NOLINTBEGIN
23
::ll::TypedStorage<1, 1, uchar> mNote;
24
::ll::TypedStorage<1, 1, bool> mOn;
25
// NOLINTEND
26
27
public
:
28
// virtual functions
29
// NOLINTBEGIN
30
virtual
bool
save(
::CompoundTag
& tag,
::SaveContext
const
& saveContext)
const
/*override*/
;
31
32
virtual
void
load(
::ILevel
& level,
::CompoundTag
const
& tag,
::DataLoadHelper
& dataLoadHelper)
/*override*/
;
33
// NOLINTEND
34
35
public
:
36
// static functions
37
// NOLINTBEGIN
38
MCAPI static ::std::optional<::SharedTypes::v1_26_20::NoteBlockInstrument>
39
getInstrument(
::BlockSource
& region,
::BlockPos
const
& pos);
40
// NOLINTEND
41
42
public
:
43
// virtual function thunks
44
// NOLINTBEGIN
45
MCNAPI
bool
$save
(
::CompoundTag
& tag,
::SaveContext
const
& saveContext)
const
;
46
47
MCNAPI
void
$load
(
::ILevel
& level,
::CompoundTag
const
& tag,
::DataLoadHelper
& dataLoadHelper);
48
49
50
// NOLINTEND
51
52
public
:
53
// vftables
54
// NOLINTBEGIN
55
MCNAPI
static
void
**
$vftableForIVanillaMainBlockActorComponent
();
56
57
MCNAPI
static
void
**
$vftableForBlockActor
();
58
59
MCNAPI
static
void
**
$vftableForIVanillaRenderBlockActorComponent
();
60
61
MCNAPI
static
void
**
$vftableForIVanillaTickBlockActorComponent
();
62
// NOLINTEND
63
};
BlockPos
Definition
BlockPos.h:14
BlockSource
Definition
BlockSource.h:72
CompoundTag
Definition
CompoundTag.h:18
DataLoadHelper
Definition
DataLoadHelper.h:20
ILevel
Definition
ILevel.h:223
NoteBlockActor
Definition
NoteBlockActor.h:19
NoteBlockActor::$save
MCAPI bool $save(::CompoundTag &tag, ::SaveContext const &saveContext) const
NoteBlockActor::$load
MCAPI void $load(::ILevel &level, ::CompoundTag const &tag, ::DataLoadHelper &dataLoadHelper)
NoteBlockActor::$vftableForBlockActor
static MCAPI void ** $vftableForBlockActor()
NoteBlockActor::$vftableForIVanillaMainBlockActorComponent
static MCAPI void ** $vftableForIVanillaMainBlockActorComponent()
NoteBlockActor::$vftableForIVanillaRenderBlockActorComponent
static MCAPI void ** $vftableForIVanillaRenderBlockActorComponent()
NoteBlockActor::$vftableForIVanillaTickBlockActorComponent
static MCAPI void ** $vftableForIVanillaTickBlockActorComponent()
SaveContext
Definition
SaveContext.h:5
src
mc
world
level
block
actor
NoteBlockActor.h
Generated on
for LeviLamina by
1.16.1