Botcraft 1.21.4
Loading...
Searching...
No Matches
EntityProperty.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <vector>
4#include <string>
5
8#if PROTOCOL_VERSION < 766 /* < 1.20.5 */
10#endif
11
12namespace ProtocolCraft
13{
15 {
16#if PROTOCOL_VERSION < 735 /* < 1.16 */
17 SERIALIZED_FIELD(Key, std::string);
18#elif PROTOCOL_VERSION < 766 /* < 1.20.5 */
20#else
22#endif
23 SERIALIZED_FIELD(Value, double);
24 SERIALIZED_FIELD(Modifiers, std::vector<EntityModifierData>);
25
27 };
28}
#define SERIALIZED_FIELD(Name,...)
SERIALIZED_FIELD(Modifiers, std::vector< EntityModifierData >)