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
16struct BlockRedstoneProducerDescription
17: public ::NetworkedBlockComponentDescription<::BlockRedstoneProducerDescription> {
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<1, 1, schar> 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
31 BlockRedstoneProducerDescription();
32
33public:
34 // virtual functions
35 // NOLINTBEGIN
36 virtual ::std::string const& getName() const /*override*/;
37
38 virtual void initializeComponentFromCode(::BlockComponentStorage& blockComponentStorage) const /*override*/;
39
40 virtual void initializeComponent(::BlockComponentStorage& blockComponentStorage) const /*override*/;
41
42 virtual ::CompoundTag buildUnboundDataNetworkTag() const /*override*/;
43
44 virtual void initializeUnboundDataFromNetwork(::CompoundTag const& tag) /*override*/;
45
46 virtual ~BlockRedstoneProducerDescription() /*override*/;
47 // NOLINTEND
48
49public:
50 // member functions
51 // NOLINTBEGIN
52 MCAPI BlockRedstoneProducerDescription(
53 int outputPower,
54 uchar stronglyPoweredFace,
56 bool isTransformRelative,
57 bool allowPowerUp,
58 bool allowPowerDown
59 );
60 // NOLINTEND
61
62public:
63 // static variables
64 // NOLINTBEGIN
65 MCAPI static ::std::string const& NameID();
66 // NOLINTEND
67
68public:
69 // constructor thunks
70 // NOLINTBEGIN
71 MCAPI void* $ctor(
72 int outputPower,
73 uchar stronglyPoweredFace,
75 bool isTransformRelative,
76 bool allowPowerUp,
77 bool allowPowerDown
78 );
79 // NOLINTEND
80
81public:
82 // destructor thunk
83 // NOLINTBEGIN
84 MCFOLD void $dtor();
85 // NOLINTEND
86
87public:
88 // virtual function thunks
89 // NOLINTBEGIN
90 MCAPI ::std::string const& $getName() const;
91
92 MCFOLD void $initializeComponentFromCode(::BlockComponentStorage& blockComponentStorage) const;
93
94 MCAPI void $initializeComponent(::BlockComponentStorage& blockComponentStorage) const;
95
96 MCAPI ::CompoundTag $buildUnboundDataNetworkTag() const;
97
98 MCAPI void $initializeUnboundDataFromNetwork(::CompoundTag const& tag);
99
100
101 // NOLINTEND
102
103public:
104 // vftables
105 // NOLINTBEGIN
106 MCNAPI static void** $vftable();
107 // NOLINTEND
108};
Definition EnumSet.h:8
Definition BlockComponentStorage.h:61
Definition CompoundTag.h:23
Definition NetworkedBlockComponentDescription.h:6
static MCAPI void ** $vftable()