Botcraft 1.21.5
Loading...
Searching...
No Matches
TrimMaterial.hpp
Go to the documentation of this file.
1#if PROTOCOL_VERSION > 765 /* > 1.20.4 */
2#pragma once
5#if PROTOCOL_VERSION > 767 /* > 1.21.1 */ && PROTOCOL_VERSION < 770 /* < 1.21.5 */
7#endif
8#if PROTOCOL_VERSION > 769 /* > 1.21.4 */
10#endif
11
12namespace ProtocolCraft
13{
14 namespace Components
15 {
17 {
18#if PROTOCOL_VERSION < 770 /* < 1.21.5*/
19 SERIALIZED_FIELD(AssetName, std::string);
21#if PROTOCOL_VERSION < 769 /* < 1.21.4 */
22 SERIALIZED_FIELD(ItemModelIndex, float);
23#endif
24#if PROTOCOL_VERSION < 768 /* < 1.21.2 */
25 SERIALIZED_FIELD(OverrideArmorMaterials, std::map<VarInt, std::string>);
26#else
27 SERIALIZED_FIELD(OverrideArmorMaterials, std::map<Identifier, std::string>);
28#endif
29#else
31#endif
32 SERIALIZED_FIELD(Description, Chat);
33
35 };
36 }
37}
38#endif
#define SERIALIZED_FIELD(Name,...)
SERIALIZED_FIELD(Assets, MaterialAssetGroup)