Skip to content
LeviMC
Home
Projects
Core
LeviLamina
Mod loader for Minecraft Bedrock Edition
LegacyScriptEngine
Runs LLSE script plugins on LeviLamina
LeviStone
(GitHub)
Runtime for Endstone plugins on LeviLamina
lip
General package installer
Launchers
LeviLauncher
Bedrock (GDK / UWP) launcher for Windows
LeviLaunchroid
Bedrock launcher for Android
Official mods
LeviOptimize
Performance optimizations for LeviLamina servers and clients
LeviAntiCheat
Anti-cheat for LeviLamina servers
MoreDimensions
API for custom dimensions in Bedrock
BarelyEnoughItems
Item list and recipe viewer (JEI) for Bedrock
AlleviatedBackpacks
Backpacks with upgrades for Bedrock
Bedstones
Waystones for Bedrock worlds
BeetrootSkin
Hunger and saturation at a glance
LeviHeadlessInput
Scripted client input for mod tests
All repositories on GitHub
Mods
Blog
Community
About
English
English
简体中文
繁體中文
Español
Русский
Deutsch
日本語
한국어
Français
Auto
Light
Dark
Auto
Light
Dark
LeviLamina
Home
User Guides
Developer Guides
Maintainer Guides
Supported Versions
LegacyScriptEngine
About
Home
User Guides
Developer Guides
Maintainer Guides
Supported Versions
LegacyScriptEngine
About
LeviMC
Home
Projects
Core
LeviLamina
Mod loader for Minecraft Bedrock Edition
LegacyScriptEngine
Runs LLSE script plugins on LeviLamina
LeviStone
(GitHub)
Runtime for Endstone plugins on LeviLamina
lip
General package installer
Launchers
LeviLauncher
Bedrock (GDK / UWP) launcher for Windows
LeviLaunchroid
Bedrock launcher for Android
Official mods
LeviOptimize
Performance optimizations for LeviLamina servers and clients
LeviAntiCheat
Anti-cheat for LeviLamina servers
MoreDimensions
API for custom dimensions in Bedrock
BarelyEnoughItems
Item list and recipe viewer (JEI) for Bedrock
AlleviatedBackpacks
Backpacks with upgrades for Bedrock
Bedstones
Waystones for Bedrock worlds
BeetrootSkin
Hunger and saturation at a glance
LeviHeadlessInput
Scripted client input for mod tests
All repositories on GitHub
Mods
Blog
Community
About
Loading...
Searching...
No Matches
NoteBlock.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/world/level/block/ActorBlockBase.h"
7
#include "mc/world/level/block/BlockType.h"
8
9
// auto generated forward declare list
10
// clang-format off
11
class
BlockPos
;
12
class
BlockSource
;
13
class
Player
;
14
namespace
BlockEvents {
class
BlockPlayerInteractEvent
; }
15
namespace
BlockEvents {
class
BlockRedstoneUpdateEvent
; }
16
// clang-format on
17
18
class
NoteBlock
:
public
::ActorBlock {
19
public
:
20
// member variables
21
// NOLINTBEGIN
22
::ll::TypedStorage<1, 1, bool> mSkullPlacementEnabled;
23
// NOLINTEND
24
25
public
:
26
// virtual functions
27
// NOLINTBEGIN
28
virtual
bool
isInteractiveBlock()
const
/*override*/
;
29
30
virtual
bool
attack(
::Player
* player,
::BlockPos
const
& pos)
const
/*override*/
;
31
32
virtual
void
triggerEvent(
::BlockSource
& region,
::BlockPos
const
& pos,
int
instrument,
int
note)
const
33
/*override*/
;
34
// NOLINTEND
35
36
public
:
37
// member functions
38
// NOLINTBEGIN
39
MCAPI
void
_onRedstoneUpdate(
::BlockEvents::BlockRedstoneUpdateEvent
& blockEvent)
const
;
40
41
MCAPI
void
use(
::BlockEvents::BlockPlayerInteractEvent
& eventData)
const
;
42
// NOLINTEND
43
44
public
:
45
// virtual function thunks
46
// NOLINTBEGIN
47
MCFOLD
bool
$isInteractiveBlock()
const
;
48
49
MCAPI
bool
$attack(
::Player
* player,
::BlockPos
const
& pos)
const
;
50
51
MCAPI
void
$triggerEvent(
::BlockSource
& region,
::BlockPos
const
& pos,
int
instrument,
int
note)
const
;
52
53
54
// NOLINTEND
55
56
public
:
57
// vftables
58
// NOLINTBEGIN
59
MCAPI
static
void
** $vftable();
60
// NOLINTEND
61
};
BlockEvents::BlockPlayerInteractEvent
Definition
BlockPlayerInteractEvent.h:18
BlockEvents::BlockRedstoneUpdateEvent
Definition
BlockRedstoneUpdateEvent.h:15
BlockPos
Definition
BlockPos.h:17
BlockSource
Definition
BlockSource.h:71
NoteBlock
Definition
NoteBlock.h:18
Player
Definition
Player.h:129
src
mc
world
level
block
NoteBlock.h
Generated on
for LeviLamina by
1.16.1