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 postParseConstraint(
122 ::Experiments const& experiments,
123 ::Json::Value const& componentJson,
124 ::SemVersion const& jsonVersion
125 );
126 // NOLINTEND
127
128public:
129 // static variables
130 // NOLINTBEGIN
131 MCNAPI static ::std::string const& NameID();
132 // NOLINTEND
133
134public:
135 // constructor thunks
136 // NOLINTBEGIN
137 MCNAPI void* $ctor();
138
140
141 MCNAPI void* $ctor(
142 ::std::string const& textureName,
143 ::BlockRenderLayer renderLayer,
144 float ambientOcclusion,
145 bool faceDimming,
146 ::TintMethod tintMethod,
147 bool randomizeUVRotation
148 );
149 // NOLINTEND
150
151public:
152 // destructor thunk
153 // NOLINTBEGIN
154 MCNAPI void $dtor();
155 // NOLINTEND
156
157public:
158 // virtual function thunks
159 // NOLINTBEGIN
160 MCNAPI ::std::string const& $getName() const;
161
162 MCNAPI void $initializeComponentFromCode(::BlockComponentStorage& blockComponentStorage) const;
163
164 MCNAPI void $initializeComponent(::BlockComponentStorage& blockComponentStorage) const;
165
166 MCNAPI bool $isNetworkComponent() const;
167
168 MCNAPI ::std::unique_ptr<::CompoundTag> $buildNetworkTag(::cereal::ReflectionCtx const& ctx) const;
169
170 MCNAPI void $initializeFromNetwork(::CompoundTag const& tag, ::cereal::ReflectionCtx const& ctx);
171 // NOLINTEND
172
173public:
174 // vftables
175 // NOLINTBEGIN
176 MCNAPI static void** $vftable();
177 // NOLINTEND
178};
Definition BlockComponentStorage.h:8
Definition CompoundTag.h:13
Definition Experiments.h:14
Definition SemVersion.h:16
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)
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
static MCAPI bool postParseConstraint(::Experiments const &experiments, ::Json::Value const &componentJson, ::SemVersion const &jsonVersion)
Definition ctx.h:5
Definition Alias.h:14