LeviLamina
Loading...
Searching...
No Matches
ComparatorBlockActor.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/block/actor/BlockActor.h"
7
8// auto generated forward declare list
9// clang-format off
10class BlockPos;
11class BlockSource;
12class CompoundTag;
13class DataLoadHelper;
14class ILevel;
15class SaveContext;
16// clang-format on
17
18class ComparatorBlockActor : public ::BlockActor {
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<4, 4, int> mOutput;
23 // NOLINTEND
24
25public:
26 // prevent constructor by default
27 ComparatorBlockActor();
28
29public:
30 // virtual functions
31 // NOLINTBEGIN
32 virtual bool save(::CompoundTag& tag, ::SaveContext const&) const /*override*/;
33
34 virtual void load(::ILevel& tag, ::CompoundTag const&, ::DataLoadHelper&) /*override*/;
35
36 virtual void tick(::BlockSource& region) /*override*/;
37
38 virtual int getOutputSignal();
39
40 virtual void setOutputSignal(int value);
41 // NOLINTEND
42
43public:
44 // member functions
45 // NOLINTBEGIN
46 MCAPI explicit ComparatorBlockActor(::BlockPos const& pos);
47 // NOLINTEND
48
49public:
50 // constructor thunks
51 // NOLINTBEGIN
52 MCAPI void* $ctor(::BlockPos const& pos);
53 // NOLINTEND
54
55public:
56 // virtual function thunks
57 // NOLINTBEGIN
58 MCAPI bool $save(::CompoundTag& tag, ::SaveContext const&) const;
59
60 MCAPI void $load(::ILevel& tag, ::CompoundTag const&, ::DataLoadHelper&);
61
62 MCAPI void $tick(::BlockSource& region);
63
64 MCFOLD int $getOutputSignal();
65
66 MCAPI void $setOutputSignal(int value);
67
68
69 // NOLINTEND
70
71public:
72 // vftables
73 // NOLINTBEGIN
74 MCNAPI static void** $vftable();
75 // NOLINTEND
76};
Definition BlockPos.h:21
Definition BlockSource.h:73
static MCAPI void ** $vftable()
Definition CompoundTag.h:23
Definition DataLoadHelper.h:20
Definition ILevel.h:219
Definition SaveContext.h:5