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/deps/shared_types/legacy/Facing.h"
8#include "mc/legacy/facing/Name.h"
9#include "mc/world/level/block/components/NetworkedBlockComponentDescription.h"
10
11// auto generated forward declare list
12// clang-format off
14class CompoundTag;
15namespace cereal { struct ReflectionCtx; }
16// clang-format on
17
19: public ::NetworkedBlockComponentDescription<::BlockRedstoneProducerDescription> {
20public:
21 // member variables
22 // NOLINTBEGIN
23 ::ll::TypedStorage<1, 1, schar> mPower;
24 ::ll::TypedStorage<2, 4, ::std::optional<::SharedTypes::Facing>> mStronglyPoweredFace;
25 ::ll::TypedStorage<1, 1, ::Bedrock::EnumSet<::Facing::Name, 6>> mConnectedFaces;
26 ::ll::TypedStorage<1, 1, bool> mIsTransformRelative;
27 ::ll::TypedStorage<1, 1, bool> mAllowPowerUp;
28 ::ll::TypedStorage<1, 1, bool> mAllowPowerDown;
29 // NOLINTEND
30
31public:
32 // virtual functions
33 // NOLINTBEGIN
34 virtual ::std::string const& getName() const /*override*/;
35
36 virtual void initializeComponentFromCode(::BlockComponentStorage& blockComponentStorage) const /*override*/;
37
38 virtual void initializeComponent(::BlockComponentStorage& blockComponentStorage) const /*override*/;
39
40 virtual ::CompoundTag buildUnboundDataNetworkTag() const /*override*/;
41
42 virtual void initializeUnboundDataFromNetwork(::CompoundTag const& tag) /*override*/;
43 // NOLINTEND
44
45public:
46 // static functions
47 // NOLINTBEGIN
48 MCAPI static void bindType(::cereal::ReflectionCtx& ctx);
49 // NOLINTEND
50
51public:
52 // static variables
53 // NOLINTBEGIN
54 MCAPI static ::std::string const& NameID();
55 // NOLINTEND
56
57public:
58 // virtual function thunks
59 // NOLINTBEGIN
60 MCAPI ::std::string const& $getName() const;
61
62 MCFOLD void $initializeComponentFromCode(::BlockComponentStorage& blockComponentStorage) const;
63
64 MCAPI void $initializeComponent(::BlockComponentStorage& blockComponentStorage) const;
65
66 MCAPI ::CompoundTag $buildUnboundDataNetworkTag() const;
67
68 MCAPI void $initializeUnboundDataFromNetwork(::CompoundTag const& tag);
69
70
71 // NOLINTEND
72
73public:
74 // vftables
75 // NOLINTBEGIN
76 MCNAPI static void** $vftable();
77 // NOLINTEND
78};
Definition BlockComponentStorage.h:67
Definition CompoundTag.h:18
Definition NetworkedBlockComponentDescription.h:6
Definition BlockRedstoneProducerDescription.h:19
static MCAPI void ** $vftable()
Definition ReflectionCtx.h:11
Definition ctx.h:5