Botcraft 1.21.5
Loading...
Searching...
No Matches
AttributeModifier.hpp
Go to the documentation of this file.
1#if PROTOCOL_VERSION > 765 /* > 1.20.4 */
2#pragma once
4
5#if PROTOCOL_VERSION > 766 /* > 1.20.6 */
7#endif
8
9namespace ProtocolCraft
10{
11 namespace Components
12 {
14 {
15#if PROTOCOL_VERSION < 767 /* < 1.21 */
17 SERIALIZED_FIELD(Name, std::string);
18#else
20#endif
21 SERIALIZED_FIELD(Amount, double);
23
25 };
26 }
27}
28#endif
#define SERIALIZED_FIELD(Name,...)
std::array< unsigned char, 16 > UUID