LeviLamina
Loading...
Searching...
No Matches
BlockLiquidDetectionDescription.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/shared_types/v1_26_0/block/LiquidReaction.h"
7#include "mc/deps/shared_types/v1_26_0/block/LiquidType.h"
8#include "mc/util/BidirectionalUnorderedMap.h"
9#include "mc/world/level/block/components/BlockComponentDescription.h"
10
11// auto generated forward declare list
12// clang-format off
14class CompoundTag;
15namespace SharedTypes::v1_26_0 { struct DetectionRule; }
16namespace cereal { struct ReflectionCtx; }
17// clang-format on
18
20public:
21 // member variables
22 // NOLINTBEGIN
23 ::ll::TypedStorage<8, 24, ::std::vector<::SharedTypes::v1_26_0::DetectionRule>> mDetectionRules;
24 // NOLINTEND
25
26public:
27 // virtual functions
28 // NOLINTBEGIN
29 virtual ::std::string const& getName() const /*override*/;
30
31 virtual void initializeComponent(::BlockComponentStorage& blockComponentStorage) const /*override*/;
32
33 virtual void initializeComponentFromCode(::BlockComponentStorage& blockComponentStorage) const /*override*/;
34
35 virtual bool isNetworkComponent() const /*override*/;
36
37 virtual ::std::unique_ptr<::CompoundTag> buildNetworkTag(::cereal::ReflectionCtx const& ctx) const /*override*/;
38
39 virtual void initializeFromNetwork(::CompoundTag const& tag, ::cereal::ReflectionCtx const& ctx) /*override*/;
40
41 virtual ~BlockLiquidDetectionDescription() /*override*/;
42 // NOLINTEND
43
44public:
45 // static functions
46 // NOLINTBEGIN
47 MCAPI static void bindType(::cereal::ReflectionCtx& ctx);
48 // NOLINTEND
49
50public:
51 // static variables
52 // NOLINTBEGIN
53 MCAPI static ::std::string const& NameID();
54
55 MCAPI static ::BidirectionalUnorderedMap<::std::string, ::SharedTypes::v1_26_0::LiquidReaction> const&
56 liquidReactionNameBiMap();
57
58 MCAPI static ::BidirectionalUnorderedMap<::std::string, ::SharedTypes::v1_26_0::LiquidType> const&
59 liquidTypeNameBiMap();
60 // NOLINTEND
61
62public:
63 // destructor thunk
64 // NOLINTBEGIN
65 MCAPI void $dtor();
66 // NOLINTEND
67
68public:
69 // virtual function thunks
70 // NOLINTBEGIN
71 MCAPI ::std::string const& $getName() const;
72
73 MCAPI void $initializeComponent(::BlockComponentStorage& blockComponentStorage) const;
74
75 MCFOLD void $initializeComponentFromCode(::BlockComponentStorage& blockComponentStorage) const;
76
77 MCFOLD bool $isNetworkComponent() const;
78
79 MCAPI ::std::unique_ptr<::CompoundTag> $buildNetworkTag(::cereal::ReflectionCtx const& ctx) const;
80
81 MCAPI void $initializeFromNetwork(::CompoundTag const& tag, ::cereal::ReflectionCtx const& ctx);
82
83
84 // NOLINTEND
85
86public:
87 // vftables
88 // NOLINTBEGIN
89 MCNAPI static void** $vftable();
90 // NOLINTEND
91};
Definition BlockComponentStorage.h:67
Definition CompoundTag.h:18
Definition BlockComponentDescription.h:20
Definition BlockLiquidDetectionDescription.h:19
static MCAPI void ** $vftable()
Definition DetectionRule.h:17
Definition ReflectionCtx.h:11
Definition ctx.h:5