Botcraft 26.3
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 */ && PROTOCOL_VERSION < 777 /* < 26.3 */
10#endif
11#if PROTOCOL_VERSION > 776 /* > 26.2 */
13#endif
14
15namespace ProtocolCraft
16{
17 namespace Components
18 {
20 {
21#if PROTOCOL_VERSION < 770 /* < 1.21.5 */
22 SERIALIZED_FIELD(AssetName, std::string);
24#if PROTOCOL_VERSION < 769 /* < 1.21.4 */
25 SERIALIZED_FIELD(ItemModelIndex, float);
26#endif
27#if PROTOCOL_VERSION < 768 /* < 1.21.2 */
28 SERIALIZED_FIELD(OverrideArmorMaterials, std::map<VarInt, std::string>);
29#else
30 SERIALIZED_FIELD(OverrideArmorMaterials, std::map<Identifier, std::string>);
31#endif
32#elif PROTOCOL_VERSION < 777 /* < 26.3 */
33 SERIALIZED_FIELD(Assets, MaterialAssetGroup);
34#endif
35#if PROTOCOL_VERSION > 776 /* > 26.2 */
37#endif
38 SERIALIZED_FIELD(Description, Chat);
39
41 };
42 }
43}
44#endif
#define SERIALIZED_FIELD(Name,...)
SERIALIZED_FIELD(PaletteId, Identifier)