Botcraft 1.21.5
Loading...
Searching...
No Matches
DataComponentTypeItemAttributeModifiers.hpp
Go to the documentation of this file.
1#if PROTOCOL_VERSION > 765 /* > 1.20.4 */
2#pragma once
5
6#include <vector>
7
8namespace ProtocolCraft
9{
10 namespace Components
11 {
13 {
14 SERIALIZED_FIELD(Modifiers, std::vector<ItemAttributeModifiersEntry>);
15#if PROTOCOL_VERSION < 770 /* < 1.21.5 */
16 SERIALIZED_FIELD(ShowInTooltip, bool);
17#endif
18
20 };
21 }
22}
23#endif
#define SERIALIZED_FIELD(Name,...)
SERIALIZED_FIELD(Modifiers, std::vector< ItemAttributeModifiersEntry >)