Botcraft 1.21.5
Loading...
Searching...
No Matches
DustColorTransitionOptions.hpp
Go to the documentation of this file.
1#if PROTOCOL_VERSION > 754 /* > 1.16.5 */
2#pragma once
3
5
6#if PROTOCOL_VERSION < 768 /* < 1.21.2 */
7#include <array>
8#endif
9
10namespace ProtocolCraft
11{
13 {
14#if PROTOCOL_VERSION < 768 /* < 1.21.2 */
15 SERIALIZED_FIELD(FromColor, std::array<float, 3>);
16#else
17 SERIALIZED_FIELD(FromColor, int);
18#endif
19#if PROTOCOL_VERSION < 766 /* < 1.20.5 */
20 SERIALIZED_FIELD(Scale, float);
21#endif
22#if PROTOCOL_VERSION < 768 /* < 1.21.2 */
23 SERIALIZED_FIELD(ToColor, std::array<float, 3>);
24#else
25 SERIALIZED_FIELD(ToColor, int);
26#endif
27#if PROTOCOL_VERSION > 765 /* > 1.20.4 */
28 SERIALIZED_FIELD(Scale, float);
29#endif
30
32 };
33}
34#endif
#define SERIALIZED_FIELD(Name,...)