Botcraft 1.21.5
Loading...
Searching...
No Matches
DataComponentTypeCustomModelData.hpp
Go to the documentation of this file.
1#if PROTOCOL_VERSION > 765 /* > 1.20.4 */
2#pragma once
4
5namespace ProtocolCraft
6{
7 namespace Components
8 {
10 {
11#if PROTOCOL_VERSION < 769 /* < 1.21.4 */
13#else
14 SERIALIZED_FIELD(Floats, std::vector<float>);
15 SERIALIZED_FIELD(Flags, std::vector<bool>);
16 SERIALIZED_FIELD(Strings, std::vector<std::string>);
17 SERIALIZED_FIELD(Colors, std::vector<int>);
18#endif
19
21 };
22 }
23}
24#endif
#define SERIALIZED_FIELD(Name,...)
SERIALIZED_FIELD(Strings, std::vector< std::string >)