LeviLamina
Loading...
Searching...
No Matches
BlockRedstoneProducerDescription.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/container/EnumSet.h"
7#include "mc/legacy/facing/Name.h"
8#include "mc/world/level/block/components/NetworkedBlockComponentDescription.h"
9
10// auto generated forward declare list
11// clang-format off
13class CompoundTag;
14// clang-format on
15
17: public ::NetworkedBlockComponentDescription<::BlockRedstoneProducerDescription> {
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<1, 1, char> mPower;
22 ::ll::TypedStorage<1, 1, uchar> mStronglyPoweredFace;
23 ::ll::TypedStorage<1, 1, ::Bedrock::EnumSet<::Facing::Name, 6>> mConnectedFaces;
24 ::ll::TypedStorage<1, 1, bool> mIsTransformRelative;
25 ::ll::TypedStorage<1, 1, bool> mAllowPowerUp;
26 ::ll::TypedStorage<1, 1, bool> mAllowPowerDown;
27 // NOLINTEND
28
29public:
30 // prevent constructor by default
32
33public:
34 // virtual functions
35 // NOLINTBEGIN
36 // vIndex: 1
37 virtual ::std::string const& getName() const /*override*/;
38
39 // vIndex: 4
40 virtual void initializeComponentFromCode(::BlockComponentStorage& blockComponentStorage) const /*override*/;
41
42 // vIndex: 2
43 virtual void initializeComponent(::BlockComponentStorage& blockComponentStorage) const /*override*/;
44
45 // vIndex: 11
46 virtual ::CompoundTag buildUnboundDataNetworkTag() const /*override*/;
47
48 // vIndex: 12
49 virtual void initializeUnboundDataFromNetwork(::CompoundTag const& tag) /*override*/;
50
51 // vIndex: 0
52 virtual ~BlockRedstoneProducerDescription() /*override*/;
53 // NOLINTEND
54
55public:
56 // member functions
57 // NOLINTBEGIN
59 int outputPower,
60 uchar stronglyPoweredFace,
62 bool isTransformRelative,
63 bool allowPowerUp,
64 bool allowPowerDown
65 );
66 // NOLINTEND
67
68public:
69 // static variables
70 // NOLINTBEGIN
71 MCAPI static ::std::string const& NameID();
72 // NOLINTEND
73
74public:
75 // constructor thunks
76 // NOLINTBEGIN
77 MCAPI void* $ctor(
78 int outputPower,
79 uchar stronglyPoweredFace,
81 bool isTransformRelative,
82 bool allowPowerUp,
83 bool allowPowerDown
84 );
85 // NOLINTEND
86
87public:
88 // destructor thunk
89 // NOLINTBEGIN
90 MCFOLD void $dtor();
91 // NOLINTEND
92
93public:
94 // virtual function thunks
95 // NOLINTBEGIN
96 MCAPI ::std::string const& $getName() const;
97
98 MCFOLD void $initializeComponentFromCode(::BlockComponentStorage& blockComponentStorage) const;
99
100 MCAPI void $initializeComponent(::BlockComponentStorage& blockComponentStorage) const;
101
102 MCAPI ::CompoundTag $buildUnboundDataNetworkTag() const;
103
104 MCAPI void $initializeUnboundDataFromNetwork(::CompoundTag const& tag);
105 // NOLINTEND
106
107public:
108 // vftables
109 // NOLINTBEGIN
110 MCNAPI static void** $vftable();
111 // NOLINTEND
112};
Definition EnumSet.h:8
Definition BlockComponentStorage.h:53
Definition CompoundTag.h:13
Definition NetworkedBlockComponentDescription.h:6
Definition BlockRedstoneProducerDescription.h:17
static MCAPI void ** $vftable()