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
11class BlockPos;
12class BlockSource;
13class CompoundTag;
14class DataLoadHelper;
15class ILevel;
16class SaveContext;
17// clang-format on
18
19class NoteBlockActor : public ::VanillaBlockActor {
20public:
21 // member variables
22 // NOLINTBEGIN
23 ::ll::TypedStorage<1, 1, uchar> mNote;
24 ::ll::TypedStorage<1, 1, bool> mOn;
25 // NOLINTEND
26
27public:
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
35public:
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
42public:
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
52public:
53 // vftables
54 // NOLINTBEGIN
56
57 MCNAPI static void** $vftableForBlockActor();
58
60
62 // NOLINTEND
63};
Definition BlockPos.h:17
Definition BlockSource.h:71
Definition CompoundTag.h:18
Definition DataLoadHelper.h:20
Definition ILevel.h:221
Definition NoteBlockActor.h:19
static MCAPI void ** $vftableForBlockActor()
static MCAPI void ** $vftableForIVanillaMainBlockActorComponent()
static MCAPI void ** $vftableForIVanillaRenderBlockActorComponent()
static MCAPI void ** $vftableForIVanillaTickBlockActorComponent()
Definition SaveContext.h:5