LeviLamina
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
MCAPI
bool
$save(
::CompoundTag
& tag,
::SaveContext
const
& saveContext)
const
;
46
47
MCAPI
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:17
BlockSource
Definition
BlockSource.h:71
CompoundTag
Definition
CompoundTag.h:18
DataLoadHelper
Definition
DataLoadHelper.h:20
ILevel
Definition
ILevel.h:221
NoteBlockActor
Definition
NoteBlockActor.h:19
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