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
InstrumentComponent.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
8
// auto generated forward declare list
9
// clang-format off
10
namespace
cereal {
struct
ReflectionCtx
; }
11
// clang-format on
12
13
namespace
SharedTypes::v1_26_20::BlockDefinition {
14
15
struct
InstrumentComponent
{
16
public
:
17
// InstrumentComponent inner types define
18
using
InstrumentMappingsDataType =
19
::std::unordered_map<::std::string, ::SharedTypes::v1_26_20::NoteBlockInstrument>;
20
21
public
:
22
// member variables
23
// NOLINTBEGIN
24
::ll::TypedStorage<1, 4, ::std::array<::std::optional<::SharedTypes::v1_26_20::NoteBlockInstrument>, 2>>
25
mInstruments;
26
// NOLINTEND
27
28
public
:
29
// static functions
30
// NOLINTBEGIN
31
MCNAPI
static
void
bindType
(
::cereal::ReflectionCtx
&
ctx
);
32
// NOLINTEND
33
34
public
:
35
// static variables
36
// NOLINTBEGIN
37
MCNAPI static ::std::string_view
const
&
NameId
();
38
// NOLINTEND
39
};
40
41
}
// namespace SharedTypes::v1_26_20::BlockDefinition
SharedTypes::v1_26_20::BlockDefinition::InstrumentComponent
Definition
InstrumentComponent.h:15
SharedTypes::v1_26_20::BlockDefinition::InstrumentComponent::bindType
static MCAPI void bindType(::cereal::ReflectionCtx &ctx)
SharedTypes::v1_26_20::BlockDefinition::InstrumentComponent::NameId
static MCAPI ::std::string_view const & NameId()
cereal::ReflectionCtx
Definition
ReflectionCtx.h:11
ctx
Definition
ctx.h:5
src
mc
deps
shared_types
v1_26_20
block
components
InstrumentComponent.h
Generated on
for LeviLamina by
1.16.1