LeviLamina
Loading...
Searching...
No Matches
BlockMaterialInstancesDescription.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/block/BlockRenderLayer.h"
7#include "mc/world/level/block/TintMethod.h"
8#include "mc/world/level/block/components/BlockComponentDescription.h"
9
10// auto generated forward declare list
11// clang-format off
13class CompoundTag;
14class Experiments;
15class SemVersion;
16namespace Json { class Value; }
17namespace cereal { struct ReflectionCtx; }
18// clang-format on
19
21public:
22 // BlockMaterialInstancesDescription inner types declare
23 // clang-format off
24 struct BlockMaterialData;
26 // clang-format on
27
28 // BlockMaterialInstancesDescription inner types define
30 public:
31 // member variables
32 // NOLINTBEGIN
39 // NOLINTEND
40
41 public:
42 // prevent constructor by default
46 };
47
49 public:
50 // member variables
51 // NOLINTBEGIN
54 // NOLINTEND
55
56 public:
57 // prevent constructor by default
58 BlockMaterialData& operator=(BlockMaterialData const&);
61 };
62
63public:
64 // member variables
65 // NOLINTBEGIN
68 // NOLINTEND
69
70public:
71 // virtual functions
72 // NOLINTBEGIN
73 // vIndex: 1
74 virtual ::std::string const& getName() const /*override*/;
75
76 // vIndex: 4
77 virtual void initializeComponentFromCode(::BlockComponentStorage& blockComponentStorage) const /*override*/;
78
79 // vIndex: 2
80 virtual void initializeComponent(::BlockComponentStorage& blockComponentStorage) const /*override*/;
81
82 // vIndex: 7
83 virtual bool isNetworkComponent() const /*override*/;
84
85 // vIndex: 8
86 virtual ::std::unique_ptr<::CompoundTag> buildNetworkTag(::cereal::ReflectionCtx const& ctx) const /*override*/;
87
88 // vIndex: 9
89 virtual void initializeFromNetwork(::CompoundTag const& tag, ::cereal::ReflectionCtx const& ctx) /*override*/;
90
91 // vIndex: 0
92 virtual ~BlockMaterialInstancesDescription() /*override*/;
93 // NOLINTEND
94
95public:
96 // member functions
97 // NOLINTBEGIN
99
101
103 ::std::string const& textureName,
104 ::BlockRenderLayer renderLayer,
105 float ambientOcclusion,
106 bool faceDimming,
107 ::TintMethod tintMethod,
108 bool randomizeUVRotation
109 );
110
112
114 // NOLINTEND
115
116public:
117 // static functions
118 // NOLINTBEGIN
119 MCNAPI static void bindType(::cereal::ReflectionCtx& ctx);
120
121 MCNAPI static bool
122 postParseConstraint(::Experiments const&, ::Json::Value const& componentJson, ::SemVersion const& jsonVersion);
123 // NOLINTEND
124
125public:
126 // static variables
127 // NOLINTBEGIN
128 MCNAPI static ::std::string const& NameID();
129 // NOLINTEND
130
131public:
132 // constructor thunks
133 // NOLINTBEGIN
134 MCNAPI void* $ctor();
135
137
138 MCNAPI void* $ctor(
139 ::std::string const& textureName,
140 ::BlockRenderLayer renderLayer,
141 float ambientOcclusion,
142 bool faceDimming,
143 ::TintMethod tintMethod,
144 bool randomizeUVRotation
145 );
146 // NOLINTEND
147
148public:
149 // destructor thunk
150 // NOLINTBEGIN
151 MCNAPI void $dtor();
152 // NOLINTEND
153
154public:
155 // virtual function thunks
156 // NOLINTBEGIN
157 MCNAPI ::std::string const& $getName() const;
158
159 MCNAPI void $initializeComponentFromCode(::BlockComponentStorage& blockComponentStorage) const;
160
161 MCNAPI void $initializeComponent(::BlockComponentStorage& blockComponentStorage) const;
162
163 MCNAPI bool $isNetworkComponent() const;
164
165 MCNAPI ::std::unique_ptr<::CompoundTag> $buildNetworkTag(::cereal::ReflectionCtx const& ctx) const;
166
167 MCNAPI void $initializeFromNetwork(::CompoundTag const& tag, ::cereal::ReflectionCtx const& ctx);
168 // NOLINTEND
169
170public:
171 // vftables
172 // NOLINTBEGIN
173 MCNAPI static void** $vftable();
174 // NOLINTEND
175};
Definition BlockComponentStorage.h:8
Definition CompoundTag.h:13
Definition Experiments.h:14
Definition SemVersion.h:15
STL namespace.
Definition BlockComponentDescription.h:20
Definition BlockMaterialInstancesDescription.h:48
Definition BlockMaterialInstancesDescription.h:29
Definition BlockMaterialInstancesDescription.h:20
MCAPI ::std::unique_ptr<::CompoundTag > $buildNetworkTag(::cereal::ReflectionCtx const &ctx) const
MCAPI void $initializeComponent(::BlockComponentStorage &blockComponentStorage) const
static MCAPI void ** $vftable()
static MCAPI void bindType(::cereal::ReflectionCtx &ctx)
static MCAPI bool postParseConstraint(::Experiments const &, ::Json::Value const &componentJson, ::SemVersion const &jsonVersion)
MCAPI::std::string const & $getName() const
static MCAPI ::std::string const & NameID()
MCAPI void $initializeFromNetwork(::CompoundTag const &tag, ::cereal::ReflectionCtx const &ctx)
MCAPI bool $isNetworkComponent() const
MCAPI void $initializeComponentFromCode(::BlockComponentStorage &blockComponentStorage) const
Definition ctx.h:5
Definition Alias.h:14